How do I clear the contents of a field?
I have tried
Code: Select all
clear field 1

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Code: Select all
clear field 1
There is no possibility to code in the language which you have not base knowledge about it's structure, commands, messages,...HJay wrote:
I have looked up 'clear' and it does refer to 'delete' but what is doesn't do is refer to 'empty' from the 'clear' entry so unless you know 'empty' exists (which I didn't) the dictionary is of no help to a complete beginner.
...
HJay
Thanks, Klaus, I'm going to file that. It's difficult to teach an old dog new tricks, but not impossible!Klaus wrote:Hi Gene,
"" = EMPTY in LiveCode![]()
So:
...
put "" into fld "xyz"
## =
put EMPTY into fld "xyz"
...
Best
Klaus