Hi,
Can i test if a String in a property is empty?
[code]Property description;
Object test with description “”;
[ main;
if /* test.description ~= “” /
print (string) test.description;
else
/ do nothing */
];[/code]update
[code]Property description;
Object test with description “”;
Array StorageForShortName buffer 160;
[ PrintToBuffer buf len a;
@output_stream 3 buf;
print (string) a;
@output_stream -3;
if (buf–>0 > len) print “Error: Overflow in PrintToBuffer.^”;
return buf–>0;
];
[ main key len;
len = PrintToBuffer (StorageForShortName, 160, test.description);
if (len)
print (string) test.description, “^”;
@read_char 1 ->key;
];[/code]Something simpler?