define without variable

Just starting out? Need help? Post your questions and find answers here.
User avatar
pf shadoko
Enthusiast
Enthusiast
Posts: 285
Joined: Thu Jul 09, 2015 9:07 am

define without variable

Post by pf shadoko »

the syntax "define" without variable is supposed to define the default type
but it triggers a syntax error

Code: Select all

d = e + f
Define.w
a = b + c 
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: define without variable

Post by ts-soft »

This was changed, allways integer default!
2. März 2017 : Version 5.60 wrote:- Geändert: 'define.b' Syntax zum Ändern des Standard-Typs entfernt, da dies schwer zu findende Bugs hervorrufen konnte.
Translated: Changed: 'define.b' removed syntax for changing the default type as this could cause hard-to-find bugs
PureBasic 5.73 | SpiderBasic 2.30 | Windows 10 Pro (x64) | Linux Mint 20.1 (x64)
Old bugs good, new bugs bad! Updates are evil: might fix old bugs and introduce no new ones.
Image
Post Reply