PB5.41LTSb1 no default value for string-pseudotypes
Posted: Fri Dec 04, 2015 11:52 pm
PureBasic 5.41 LTS Beta 1
It's not possible to use a default value for string pseudotype parameters except numerical ones.
It's not possible to use a default value for string pseudotype parameters except numerical ones.
Code: Select all
Prototype foo( txt.p-ascii = #Null$ ) ; <-- syntax error
Prototype foo( txt.p-ascii = #Empty$ ) ; <-- syntax error
Prototype foo( txt.p-ascii = "" ) ; <-- syntax error
Prototype foo( txt.p-ascii = @"" ) ; <-- syntax error
Prototype foo( txt.p-ascii = 0 ) ; <-- no error