Questions of zero level

This forum is for eXpress++ general support.
Message
Author
User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: Questions of zero level

#91 Post by RDalzell »

I find that Roger's DC_DBFILE() is an easier solution.

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Questions of zero level

#92 Post by rdonnay »

i make a copy of your source to my programm with "copy and past"
the fieldtype of "type_model" and "Int_krit" was after paste "?" not "C" !!!! :naughty:
I got that same result.
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Questions of zero level

#93 Post by Eugene Lutsenko »

hz_scotty wrote:hi
i make a copy of your source to my programm with "copy and paste"
the fieldtype of "type_model" and "Int_krit" was after paste "?" not "C" !!!! :naughty:
please overwrite this two characters with "C" an test again

by me- the function create the DBF correct :clap:
Thank you very much! Casually pressed not Latin "C", and Russian "С". They look equally. And I cleaned fields in turn and tried, and when cleaned this field - earned, but I didn't understand because of what.

I thank all and I am sorry for that that took time with such simple problem. But I thought, the reason in other since the tool for me new and I thought that something not so I do in principle, and tripped on a smooth spot.

With DC_DBFILE() I will try to deal.

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Questions of zero level

#94 Post by rdonnay »

This thread is getting very long.

I suggest that you start a new thread every time you post a new problem.
The eXpress train is coming - and it has more cars.

User avatar
Eugene Lutsenko
Posts: 1649
Joined: Sat Feb 04, 2012 2:23 am
Location: Russia, Southern federal district, city of Krasnodar
Contact:

Re: Questions of zero level

#95 Post by Eugene Lutsenko »

rdonnay wrote:This thread is getting very long.

I suggest that you start a new thread every time you post a new problem.
Well!

Alaska gives a mistake at database creation if in the file of structure there are names of fields in length more than 10 symbols. CLIPPER too worked with names to 10 symbols, but a mistake didn't give, and simply other symbols ignored. That is the fields different by 11, 12 and so on by symbols were perceived as identical.

And the mistake arose because instead of Latin "C" I unintentionally somehow pressed Russian symbol "С" which looks precisely as well is the only thing located on a key with same by the form a Latin symbol. Simply language when I switched it wasn't switched, I know well it and such mistake wouldn't allow. But when looked at the program didn't see a mistake since it seems all how is necessary by sight. Also didn't guess. Though began to delete fields in turn and when removed with Russian "С" - everything earned. But there was no time for the subsequent...

User avatar
RDalzell
Posts: 205
Joined: Thu Jan 28, 2010 6:57 am
Location: Alsip, Illinois USA

Re: Questions of zero level

#96 Post by RDalzell »

From Alaska Docs (creating a database)...

A field name may contain a maximum of 10 characters.

The same rules apply to field names that apply to variable names. The first letter must be an alphabetical character or an underscore and all other characters must be alphanumeric or an underscore.

User avatar
rdonnay
Site Admin
Posts: 4729
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: Questions of zero level

#97 Post by rdonnay »

Alaska gives a mistake at database creation if in the file of structure there are names of fields in length more than 10 symbols. CLIPPER too worked with names to 10 symbols, but a mistake didn't give, and simply other symbols ignored. That is the fields different by 11, 12 and so on by symbols were perceived as identical.
Compile your code with the /com switch.

/com Compatibility-Mode (max. 10 significant chars for ident.)
The eXpress train is coming - and it has more cars.

Post Reply