Name DataType Subtype lauto_Shell Automation 'Microsoft Shell Controls And Automation'.Shell
CREATE(lauto_Shell); MESSAGE(FORMAT(lauto_Shell.Open(doscommandvar))); CLEAR(lauto_Shell);When run it, to prompt as below:-
--------------------------- Microsoft Business Solutions-Navision --------------------------- Type conversion is not possible because 1 of the operators contains an invalid type. JOKER := VOID --------------------------- OK ---------------------------
Comments
If I remember correctly it poped up after I changed the returnvalue of a function, but I'm not sure. :?
the method 'open' doesn't have any return value ---> so you cannot use it with FORMAT(...)
I know, I was just playing with it.
Wanted to see how FORMAT handle void function.
Peter Ng
obviously FORMAT uses the 'Joker' for such cases
Now there is only one question left:
Was it the "50:50", the "call a friend" or the "audience query" joker?
Michael Schumacher
oh, what day is it? Backup day. OK, let's dump all data to /dev/nul ;-)
http://www.mbsonline.org/forum/topic.asp?TOPIC_ID=6559
I do have a screenshot but I haven't kept the code which triggered the error.