English Amiga Board


Go Back   English Amiga Board > Coders > Coders. Language > Coders. Blitz Basic

 
 
Thread Tools
Old 25 August 2018, 12:32   #1
peceha
Registered User
 
peceha's Avatar
 
Join Date: Dec 2017
Location: Poland
Age: 47
Posts: 282
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?
peceha is online now  
Old 25 August 2018, 14:03   #2
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
I don't know much about blitz but ~0 is not(0), which is normally -1.
meynaf is offline  
Old 25 August 2018, 14:40   #3
peceha
Registered User
 
peceha's Avatar
 
Join Date: Dec 2017
Location: Poland
Age: 47
Posts: 282

Thanks!!!! It works.
peceha is online now  
Old 27 August 2018, 15:02   #4
Daedalus
Registered User
 
Daedalus's Avatar
 
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,335
Yep, and if you prefer, for readability purposes Blitz includes True and False keywords that compile as -1 and 0 respectively.
Daedalus is offline  
 


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:56.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.41649 seconds with 13 queries