25 August 2018, 12:32 | #1 |
Registered User
Join Date: Dec 2017
Location: Poland
Age: 47
Posts: 284
|
What is the symbol for: ~0 in blitz
Hello,
To detach a list from listView gadget I need to pass ~0 to GTLV_Labels. Is it the same as passing just 0? |
25 August 2018, 14:03 | #2 |
son of 68k
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,355
|
I don't know much about blitz but ~0 is not(0), which is normally -1.
|
25 August 2018, 14:40 | #3 |
Registered User
Join Date: Dec 2017
Location: Poland
Age: 47
Posts: 284
|
Thanks!!!! It works. |
27 August 2018, 15:02 | #4 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,379
|
Yep, and if you prefer, for readability purposes Blitz includes True and False keywords that compile as -1 and 0 respectively.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[blitz basic] How much amiga-blitz friendly is this? | saimon69 | Coders. Blitz Basic | 105 | 21 April 2022 19:45 |
Using libraries with VBCC (Undefined Symbol) | NoBrain2k | Coders. C/C++ | 7 | 03 July 2018 12:02 |
AsmOne: Undefined symbol | copse | Coders. Asm / Hardware | 2 | 02 April 2012 01:41 |
using the '*'-symbol in assembler - what do you expect? | phx | Coders. General | 11 | 02 December 2009 12:56 |
OS 3.9 Euro Symbol and Unarc | fc.studio | support.Apps | 1 | 01 January 2008 12:08 |
|
|