|
Pages: [1]
|
 |
|
Author
|
Topic: Logic problem? (Read 386 times)
|
|
kpeters
|
Hi ~ the code below does not execute as expected - what am I doing wrong? table-empty evaluates to false as it should. (As a newbie, I always appreciate code critique of all my code) TIA, Kai table-empty: [ either ( length? recs ) = 0 [ flash "No records in timesheet table" true ] [ false ]]
go-first: [ if not table-empty [ tsrecnum: 1 show-timesheet-record tsrecnum ] ]
go-larst: [ if not table-empty [ tsrecnum: length? recs show-timesheet-record tsrecnum ] ]
|
|
|
|
|
Logged
|
|
|
|
|
Sunanda
|
Should that first line be: table-empty: DOES [....] ?
|
|
|
|
|
Logged
|
|
|
|
|
|
|
|
Pages: [1]
|
|
|
 |