PB5.20B2 With statement should work with module names

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
uwekel
Enthusiast
Enthusiast
Posts: 740
Joined: Sat Dec 03, 2011 5:54 pm
Location: Oldenburg (Germany)

PB5.20B2 With statement should work with module names

Post by uwekel »

Hi,

it would be great, if a module name can be used with the

Code: Select all

With
statement.

Best regards
Uwe
PB 5.70 LTS (x64) - Debian Testing, Gnome 3.30.2
Little John
Addict
Addict
Posts: 4777
Joined: Thu Jun 07, 2007 3:25 pm
Location: Berlin, Germany

Re: PB5.20B2 With statement should work with module names

Post by Little John »

User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: PB5.20B2 With statement should work with module names

Post by ts-soft »

+1
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
User avatar
luis
Addict
Addict
Posts: 3893
Joined: Wed Aug 31, 2005 11:09 pm
Location: Italy

Re: PB5.20B2 With statement should work with module names

Post by luis »

Uhm... I don't like it: as expressed in the other thread linked here you would need to continually repeat with / endwith when using procs from more then one module intercalated, and type a lot of :: anyway like when using a full qualifier.
"Have you tried turning it off and on again ?"
A little PureBasic review
Post Reply