Normal Topic [BRF] Some diacritics fail to compile in SBasic (Read 829 times)
carsten
Junior Member
**
Offline


Carpe Diem

Posts: 74
Location: Germany
Joined: Aug 24th, 2005
[BRF] Some diacritics fail to compile in SBasic
Sep 11th, 2007 at 9:20pm
Print Post Print Post  
Bug report filed. Will be fixed in 2.0.3.

I upgraded to 2.02 today and directly hit an incompatibility:

I had functions defined containing an umlaut (well, sorry I am German and my client is even more so). Umlautsseem, however, not to be allowed in function definitions or calls respectively in 2.02 aymore.
I admit it was not much effort with the help of the "test" function to find and replace them but ....

regards
Carsten
« Last Edit: Sep 12th, 2007 at 1:06pm by Hammer »  

Carsten&&The Houseman&&"Smiling improves your face value"&&"A Clean House is a Sign of a Wasted Life"&&"Rather Big and Hard then Micro and Soft"
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Umlaut in SBasic function
Reply #1 - Sep 11th, 2007 at 9:25pm
Print Post Print Post  
Carsten,

I just created a function with an umlaut in the name and it tested fine. Can you send us an example of a function that gives you an error?
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
carsten
Junior Member
**
Offline


Carpe Diem

Posts: 74
Location: Germany
Joined: Aug 24th, 2005
Re: Umlaut in SBasic function
Reply #2 - Sep 11th, 2007 at 9:36pm
Print Post Print Post  
The following function caused an error

Function GZurück() // eine Record rückwärts

var success as Int

If @Mode() = 1
{
     success = @SelectTreeItem("Search Update Menu!Navigation!Previous Record (F9)")
}
Else If @Mode() = 0
{
     success = @SelectTreeItem("Add Data Menu!Navigation!Previous Record (F9)")
}

return success
End Function

regards
Carsten
  

Carsten&&The Houseman&&"Smiling improves your face value"&&"A Clean House is a Sign of a Wasted Life"&&"Rather Big and Hard then Micro and Soft"
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Umlaut in SBasic function
Reply #3 - Sep 11th, 2007 at 9:43pm
Print Post Print Post  
Carsten,

It appears that some umlautted characters are a problem, but not others. On my system ä and ë are okay but ï, ö and ü are not.

We'll hunt down what the difference is and get a fix into the next maintenance release.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged