Search found 15 matches

by DenGhostYY
Wed Jun 19, 2024 11:29 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 31
Views: 9516

Re: Xbase++ forum

Thank you very much
by DenGhostYY
Wed Jun 19, 2024 7:32 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 31
Views: 9516

Re: Xbase++ forum

SYMBOL_FUNCTION

The return value is a one-dimensional array holding the symbolic names of FUNCTIONs and PROCEDUREs as character strings.
by DenGhostYY
Wed Jun 19, 2024 7:31 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 31
Views: 9516

Re: Xbase++ forum

SYMBOL_FUNCTION
by DenGhostYY
Wed Jun 19, 2024 5:07 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 31
Views: 9516

Re: Xbase++ forum

Hello. Is there an analogue of the function SymbolInfo in XSharp?
by DenGhostYY
Fri May 31, 2024 11:58 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 31
Views: 9516

Re: Xbase++ forum

866, 1251
by DenGhostYY
Fri Apr 26, 2024 11:31 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 31
Views: 9516

Re: Xbase++ forum

Yes, clarifying the namespace helped. I decided to try with Cyrillic characters, but for some reason the function Asc() returns codes based on code page 1251, although the source was in 866 encoding and there was a compilation flag -codepage:866 procedure Main() #ifdef __XSHARP__ SetInternational ...
by DenGhostYY
Fri Apr 26, 2024 9:30 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 31
Views: 9516

Re: Xbase++ forum

Doesn't the Russian clipper/vo collation table correspond to the code page 866? In X# the function Asc() returns the correct result for Latin 'b', 'C'. Imho, this means something is wrong with the comparison settings. Den, The sort order is controlled by the russian collation. I would have to check ...
by DenGhostYY
Fri Apr 26, 2024 9:24 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 31
Views: 9516

Re: Xbase++ forum

As far as I know, strings in Xbase++ do not have a special setting that is responsible for the case sensitivity of strings when comparing. You can select a collation table for characters using SET COLLATION . However, in Alaska there is no corresponding #define for the Russian language, so we use ...
by DenGhostYY
Fri Apr 26, 2024 4:29 am
Forum: Xbase++
Topic: Xbase++ forum
Replies: 31
Views: 9516

Re: Xbase++ forum

Hello. I'm trying to set up a compatible string comparison using the X# compiler flag -vo13 and functions SetInternational , SetCollation , SetNatDll . The following code: procedure Main() #ifdef __XSHARP__ SetInternational(#CLIPPER) SetCollation("CLIPPER") SetNatDll("RUSSIAN.DLL") #endif ? asc("C ...
by DenGhostYY
Tue Dec 19, 2023 7:43 pm
Forum: Xbase++
Topic: Xbase++ forum
Replies: 31
Views: 9516

Re: Xbase++ forum

How to make it so that there is no need to write

Code: Select all

using static XbTools.XbTools
in prg file?