<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to bugs</title><link href="https://sourceforge.net/p/dialect/bugs/" rel="alternate"/><link href="https://sourceforge.net/p/dialect/bugs/feed.atom" rel="self"/><id>https://sourceforge.net/p/dialect/bugs/</id><updated>2023-04-07T23:36:54.247000Z</updated><subtitle>Recent changes to bugs</subtitle><entry><title>BUG in parsing boolean expressions (if, while....)</title><link href="https://sourceforge.net/p/dialect/bugs/8/" rel="alternate"/><published>2023-04-07T23:36:54.247000Z</published><updated>2023-04-07T23:36:54.247000Z</updated><author><name>sbettini</name><uri>https://sourceforge.net/u/sbettini/</uri></author><id>https://sourceforge.net228562a7b238c9d56890ecb55e7cc2e482e25a09</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;if 1 = 2 and 2 = 3&lt;br/&gt;
    print true&lt;br/&gt;
else  &lt;br/&gt;
    print false&lt;br/&gt;
endif&lt;br/&gt;
---&amp;gt;true     (BUG)&lt;/p&gt;
&lt;hr/&gt;
&lt;p&gt;if (1 = 2) and (2 = 3)&lt;br/&gt;
    print true&lt;br/&gt;
else  &lt;br/&gt;
    print false&lt;br/&gt;
endif&lt;/p&gt;
&lt;p&gt;---&amp;gt;false  (CORRECT)&lt;/p&gt;
&lt;p&gt;Unfortunately seem to be a major problem at parser level (_Expression() and descendant tree functions) not so simple to manage, at least for me.&lt;/p&gt;
&lt;p&gt;The parens workaround is a little annoing and break the elegance of the syntax, could someone check with some old version (pre 1.16) if the problem was already here maybe from the beginning? &lt;/p&gt;
&lt;p&gt;TIA&lt;br/&gt;
Stefano&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>POS function</title><link href="https://sourceforge.net/p/dialect/bugs/7/" rel="alternate"/><published>2005-04-15T16:43:23Z</published><updated>2005-04-15T16:43:23Z</updated><author><name>Victor MVS</name><uri>https://sourceforge.net/u/vrelo/</uri></author><id>https://sourceforge.net53b43f34b63430e892593d46be52c945e3b321eb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;This function has a bug in the Guilect's versions. It &lt;br /&gt;
returns a number greater to the length of string. This &lt;br /&gt;
question is wrong because the documentation says that &lt;br /&gt;
pos function returns zero when the string is not present.&lt;/p&gt;
&lt;p&gt;I think that could be corrected. Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>virus</title><link href="https://sourceforge.net/p/dialect/bugs/6/" rel="alternate"/><published>2004-04-22T04:29:12Z</published><updated>2004-04-22T04:29:12Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netc4d70e66477e712a1f291252928428f0c90ae825</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;the virus is not in the installation file itself&lt;br /&gt;
but in the .exe files generated by it...&lt;/p&gt;
&lt;p&gt;you have to install the thing for the virus scanner to &lt;br /&gt;
detect it...  AVG detects it also.&lt;/p&gt;
&lt;p&gt;Since it "just appeared" recently this message can either &lt;br /&gt;
means...&lt;/p&gt;
&lt;p&gt;a) a real virus (it took months for the definition to be     &lt;br /&gt;
included in anti-virus software... wow) &lt;br /&gt;
b) an attempt by the company to remove existing copies&lt;br /&gt;
of its software... (god knows why)&lt;/p&gt;
&lt;p&gt;I'm not fond of conspiracy theories but it's weird.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>regex not working under Windows XP</title><link href="https://sourceforge.net/p/dialect/bugs/5/" rel="alternate"/><published>2003-01-27T09:28:17Z</published><updated>2003-01-27T09:28:17Z</updated><author><name>Tom Arn</name><uri>https://sourceforge.net/u/t-arn/</uri></author><id>https://sourceforge.netdc9bf8cc5fd7489fa0d201ab06d88a71804c22d5</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The regex command does not seem to work under Windows&lt;br /&gt;
XP (no SP). I have written a small demo program that&lt;br /&gt;
runs perfectly under Windows 2000. Under XP, I get the&lt;br /&gt;
error message &amp;amp;quot;Runtime error: Unbound symbol in&lt;br /&gt;
expression: r&amp;amp;quot;&lt;/p&gt;
&lt;p&gt;The problem is that the regex object r is not being&lt;br /&gt;
created and the subsequent call to r.replace()&lt;br /&gt;
therefore fails.&lt;/p&gt;
&lt;p&gt;Here's the demo program:&lt;/p&gt;
&lt;p&gt;do_adjust_text = func(text)&lt;br /&gt;
r = regex(&amp;amp;quot;ä&amp;amp;quot;)&lt;br /&gt;
text = r.replace(text, &amp;amp;quot;ae&amp;amp;quot;)&lt;br /&gt;
r = regex(&amp;amp;quot;ö&amp;amp;quot;)&lt;br /&gt;
text = r.replace(text, &amp;amp;quot;oe&amp;amp;quot;)&lt;br /&gt;
r = regex(&amp;amp;quot;ü&amp;amp;quot;)&lt;br /&gt;
text = r.replace(text, &amp;amp;quot;ue&amp;amp;quot;)&lt;br /&gt;
r = regex(&amp;amp;quot;Ä&amp;amp;quot;)&lt;br /&gt;
text = r.replace(text, &amp;amp;quot;Ae&amp;amp;quot;)&lt;br /&gt;
r = regex(&amp;amp;quot;Ö&amp;amp;quot;)&lt;br /&gt;
text = r.replace(text, &amp;amp;quot;Oe&amp;amp;quot;)&lt;br /&gt;
r = regex(&amp;amp;quot;Ü&amp;amp;quot;)&lt;br /&gt;
text = r.replace(text, &amp;amp;quot;Ue&amp;amp;quot;)&lt;br /&gt;
return (text)&lt;br /&gt;
endfunc&lt;/p&gt;
&lt;p&gt;t=&amp;amp;quot;Dies sind Umlaute: äöüÄÖÜ.&amp;amp;quot;&lt;br /&gt;
message(t)&lt;br /&gt;
message(do_adjust_text(t))&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ambiguity in some date/time functions </title><link href="https://sourceforge.net/p/dialect/bugs/4/" rel="alternate"/><published>2002-10-01T12:44:05Z</published><updated>2002-10-01T12:44:05Z</updated><author><name>A.H. Banen</name><uri>https://sourceforge.net/u/userid-423153/</uri></author><id>https://sourceforge.neta228b43c90a9e707eec9fd510c00e14bb0ed6278</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Ambiguity build into some date and time functions&lt;/p&gt;
&lt;p&gt;Summary: The output of system.createdate$ and &lt;br /&gt;
system.floattodate can become ambiguous based on &lt;br /&gt;
locale setting in Windows.&lt;br /&gt;
Either force their output to an extended universal &lt;br /&gt;
date/time format (i.e. &amp;amp;quot;CCYY-MM-DD hh:mm:ss&amp;amp;quot;) or &lt;br /&gt;
allow for these functions as an extra parameter a &lt;br /&gt;
string containing date/time formatting symbols. &lt;/p&gt;
&lt;p&gt;There is an ambiguity build into certain functions in &lt;br /&gt;
Dialect that produce a date and/or time string.&lt;br /&gt;
These  functions are the system.createdate$ and &lt;br /&gt;
system.floatetodate functions.  System.createdate$ &lt;br /&gt;
and system.floatetodate produce an output based on &lt;br /&gt;
the _local country settings_ for time and date.&lt;br /&gt;
E.g. when a country uses a time setting like u:mm:ss &lt;br /&gt;
(specified in symbols used by Windows) without &lt;br /&gt;
specifying AM/PM sysmbols this produces a time part &lt;br /&gt;
in the output string that is ambiguous (both e.g. &lt;br /&gt;
1:30:01 and 13:30:01 will become formatted as &lt;br /&gt;
1:30:01). The problem with time formatting is not very &lt;br /&gt;
severe as probably most countries will useeither  a 24 &lt;br /&gt;
hour display or a 12 hour display with AM/PM &lt;br /&gt;
symbols; but the user could have overridden these &lt;br /&gt;
settings.&lt;br /&gt;
The problem with formatting dates is more severe. A &lt;br /&gt;
good many users still may use a date formatting like d-&lt;br /&gt;
M-jj (again symbols used by Windows, where d stands &lt;br /&gt;
for day, M for month and jj for the last to numbers of a &lt;br /&gt;
year [E.g. 1-10-2002 will become formatted as 1-10-&lt;br /&gt;
02]).&lt;br /&gt;
The local settings for date and time output are used &lt;br /&gt;
by system.createdate$ and system.floatdate thus &lt;br /&gt;
producing for some users ambiguous outputs (e.g. &lt;br /&gt;
what year would be 1-10-02? It could be 1-10-2002 &lt;br /&gt;
but also 1-10-1902 or 1-10-2102...)&lt;br /&gt;
Neither system.createdate$ nor system.floattodate &lt;br /&gt;
offer the user/programmer the possibility to override &lt;br /&gt;
the output formatting like the core functions date$ and &lt;br /&gt;
time offer.&lt;br /&gt;
This means that programs that use &lt;br /&gt;
system.createdate$ and/or system.floattodate have a &lt;br /&gt;
build-in flaw that may lead to errors when used in &lt;br /&gt;
different locales.&lt;/p&gt;
&lt;p&gt;There are two possibilities to solve this problem. &lt;br /&gt;
One would be to use a default output for &lt;br /&gt;
system.createdate$ and system.floattodate based on &lt;br /&gt;
the format for universal time e.g. the extended &lt;br /&gt;
universal date time format &amp;amp;quot;CCYY-MM-DDThh:mm:ss&amp;amp;quot; &lt;br /&gt;
which would produce for October 1st, 2002, &lt;br /&gt;
14:08:10 hours a string like &amp;amp;quot;2002-10-1T14:08:10&amp;amp;quot; ( &lt;br /&gt;
note the separator 'T' between date and time, in &lt;br /&gt;
Dialect for compatibility system.parsetime this symbol &lt;br /&gt;
should be replaced by a space ' '). Users that would &lt;br /&gt;
need specific formatting could use the &lt;br /&gt;
system.datetimepart functions with either 'formatdate &lt;br /&gt;
or 'formattime and a string containing formatting &lt;br /&gt;
symbols.&lt;br /&gt;
An alternative would be to allow formatting of the &lt;br /&gt;
output of system.createdate$ and system.floattodate &lt;br /&gt;
directly by allowing the user to specify a formatting &lt;br /&gt;
string (like the ones used with system.datetimepart ) .&lt;/p&gt;
&lt;p&gt;André &lt;/p&gt;
&lt;p&gt;Universal date/time formatting: &lt;br /&gt;
&lt;a href="http://www.lise.jp/datetime.html" rel="nofollow"&gt;http://www.lise.jp/datetime.html&lt;/a&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ping not working on WinCE ??</title><link href="https://sourceforge.net/p/dialect/bugs/3/" rel="alternate"/><published>2002-09-24T14:51:18Z</published><updated>2002-09-24T14:51:18Z</updated><author><name>Tom Arn</name><uri>https://sourceforge.net/u/t-arn/</uri></author><id>https://sourceforge.neta1c755a760adea3d0b7d12f89c44f656709b5625</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The sockets.ping function does not seem to work under&lt;br /&gt;
WinCE. I've tried on my HP720 (HPC2000, WinCE3.0, ARM)&lt;/p&gt;
&lt;p&gt;Can someone verify that on his device or provide a fix&lt;br /&gt;
for it?&lt;/p&gt;
&lt;p&gt;Tom&lt;/p&gt;
&lt;p&gt;import &amp;amp;quot;sockets&amp;amp;quot;&lt;br /&gt;
hostname = &amp;amp;quot;www.aristar.com&amp;amp;quot;&lt;br /&gt;
t = sockets.ping(hostname)&lt;br /&gt;
if t == 0 then&lt;br /&gt;
print &amp;amp;quot;no answer&amp;amp;quot;&lt;br /&gt;
else&lt;br /&gt;
print format(&amp;amp;quot;%s answered in %d&lt;br /&gt;
milliseconds&amp;amp;quot;,hostname, int(t))&lt;br /&gt;
endif&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Ping not working for fast connections</title><link href="https://sourceforge.net/p/dialect/bugs/2/" rel="alternate"/><published>2002-09-24T12:31:15Z</published><updated>2002-09-24T12:31:15Z</updated><author><name>Tom Arn</name><uri>https://sourceforge.net/u/t-arn/</uri></author><id>https://sourceforge.net4cb9464c99000220319f815287268cd172225d5f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;The sockets.ping (undocumented) function is not working&lt;br /&gt;
for very fast connections (response time &amp;amp;lt;1ms) because&lt;br /&gt;
it then returns 0 which is the ping-no-answer value.&lt;/p&gt;
&lt;p&gt;I suggest that in that case ping() should return a 1&lt;br /&gt;
instead. &lt;/p&gt;
&lt;p&gt;Tom &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Virus ?</title><link href="https://sourceforge.net/p/dialect/bugs/1/" rel="alternate"/><published>2002-06-20T08:33:26Z</published><updated>2002-06-20T08:33:26Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net982f0ef1979539fc0787502fe2c489c410ee7028</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Kaspeksky anti-virus (v4.0) have found a virus in the exe &lt;br /&gt;
file :&lt;br /&gt;
the virus is &amp;amp;quot;Backdoor.myrat&amp;amp;quot; (or sometuing like that...)&lt;br /&gt;
the file is &amp;amp;quot;DialectWin32Install-1.16.exe&amp;amp;quot; (from source forge)&lt;/p&gt;
&lt;p&gt;... Is it normal ? &lt;/p&gt;
&lt;p&gt;(kaspersky Home page : &lt;br /&gt;
&lt;a href="http://www.kaspersky.com/index.html\" rel="nofollow"&gt;http://www.kaspersky.com/index.html\&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>