For everything that's not in any way related to PureBasic. General chat etc...
mestnyi
Addict
Posts: 1098 Joined: Mon Nov 25, 2013 6:41 am
Post
by mestnyi » Thu Mar 06, 2025 12:37 pm
Code: Select all
func$ = "Window" ; debug Window 1 0
; comment\uncomment
; func$ = "Window" ; debug Window 0 1
Debug ""+func$ +" "+ Bool(func$ = "Window") +" "+ Bool(func$ = "Window")
What's going on here? Why do the same words look different?
Kiffi
Addict
Posts: 1484 Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9
Post
by Kiffi » Thu Mar 06, 2025 12:40 pm
not here.
In both cases: Window 1 1
Hygge
Kiffi
Addict
Posts: 1484 Joined: Tue Mar 02, 2004 1:20 pm
Location: Amphibios 9
Post
by Kiffi » Thu Mar 06, 2025 1:16 pm
Have a look at what it looks like in my Notepad++:
(ZWNBSP means "ZERO WIDTH NO-BREAK SPACE")
Hygge
blueb
Addict
Posts: 1111 Joined: Sat Apr 26, 2003 2:15 pm
Location: Cuernavaca, Mexico
Post
by blueb » Thu Mar 06, 2025 1:19 pm
I downloaded and tried 1.pb and you're right. It does debug display "Window 0 1" (after uncommenting)
- It was too lonely at the top.
System : PB 6.21(x64) and Win 11 Pro (x64)
Hardware: AMD Ryzen 9 5900X w/64 gigs Ram, AMD RX 6950 XT Graphics w/16gigs Mem
mestnyi
Addict
Posts: 1098 Joined: Mon Nov 25, 2013 6:41 am
Post
by mestnyi » Thu Mar 06, 2025 1:31 pm
Kiffi wrote: Thu Mar 06, 2025 1:16 pm
Have a look at what it looks like in my Notepad++:
(ZWNBSP means "ZERO WIDTH NO-BREAK SPACE")
Wow, now what, how do I deal with this?
Caronte3D
Addict
Posts: 1355 Joined: Fri Jan 22, 2016 5:33 pm
Location: Some Universe
Post
by Caronte3D » Thu Mar 06, 2025 1:56 pm
You can use before the debug:
and... inside "" is the ZWNBSP
NicTheQuick
Addict
Posts: 1501 Joined: Sun Jun 22, 2003 7:43 pm
Location: Germany, Saarbrücken
Contact:
Post
by NicTheQuick » Thu Mar 06, 2025 2:27 pm
It just looks like you have copied the word `window` from a web page or chat or something like that. The zero-width non-breaking space is usually used to make prevent words from wrapping at the end of a text box.
The english grammar is freeware, you can use it freely - But it's not Open Source, i.e. you can not change it or publish it in altered way.
Nituvious
Addict
Posts: 1027 Joined: Sat Jul 11, 2009 4:57 am
Location: United States
Post
by Nituvious » Fri Mar 07, 2025 5:43 pm
You deal with it by using Utf8
▓▓▓▓▓▒▒▒▒▒░░░░░
Olli
Addict
Posts: 1194 Joined: Wed May 27, 2020 12:26 pm
Post
by Olli » Mon Mar 24, 2025 1:17 am
Yes I got this problem since 2016. That is the several clipboards. As usual, it is Microsoft which puts a clipboard "bad" content on Windows 8 (in 2016)...