Search found 1804 matches

by Gregory Martin
February 6th, 2012, 4:32 am
Forum: Tabulation
Topic: Not enough subxcripts
Replies: 2
Views: 5606

Re: Not enough subxcripts

(After looking at this user's dictionary, here is a response for advanced users.) Creating the table you want in CSPro is not particularly straightforward, but hopefully this will help you: 1) Create a table. For my example, I am creating TABLE1, which is just a tally of Q68_A_6. You should create t...
by Gregory Martin
February 6th, 2012, 4:29 am
Forum: Editing
Topic: execsystem
Replies: 2
Views: 5268

Re: execsystem

There are a few tricky things when using CSPro with filenames, especially because CSPro doesn't handle backslashes consistently. On Windows machines the pathname contains backslashes, which also can be used to format text. So it's not always clear what you will get when you write "path\name&quo...
by Gregory Martin
February 6th, 2012, 4:27 am
Forum: Other
Topic: Russian error messages
Replies: 2
Views: 4054

Re: Russian error messages

I don't have a copy, but there is definitely a translation of the error messages into Spanish, as CSPro is widely used in Latin America. While there are more than a thousand error messages in the CSPro.mgf file, many of them are errors that the compiler uses, not messages that would get shown in CSE...
by Gregory Martin
February 5th, 2012, 12:52 pm
Forum: Entry
Topic: Execpff
Replies: 2
Views: 4518

Re: Execpff

Maria Teresa, The problem is that CSEntry "locks" the data file when you are entering data. That means that no other program has access to the file. You can test this by running CSEntry and then trying to make a copy of the data file in Windows Explorer. The error message I get on Windows ...
by Gregory Martin
January 31st, 2012, 1:57 pm
Forum: Entry
Topic: resize array dynamically
Replies: 1
Views: 3912

Re: resize array dynamically

Unfortunately there is no way to do this at the moment. I say unfortunately because it would be very convenient to have dynamically-sized arrays or some other kind of collection. Perhaps a future version of CSPro will have this. Your best bet is to just size it at the highest size you can imagine. Y...
by Gregory Martin
January 25th, 2012, 11:14 pm
Forum: Entry
Topic: onstop()
Replies: 2
Views: 4466

Re: onstop()

You are partially correct. OnStop will only get called if some data, not just an ID item, has been entered for the case. If any item is entered, OnStop will be executed. If no items are entered, OnStop will not get called. I don't know why this was the programmed behavior, but my guess it that gener...
by Gregory Martin
January 20th, 2012, 8:26 am
Forum: Feature Requests
Topic: add global procedural section
Replies: 6
Views: 8791

Re: add global procedural section

This is an intriguing idea that I have not thought of before. What are some kinds of scripts that you would put in a preproc/postproc?

If implemented, perhaps these scripts could be implemented similar to the OnKey and OnStop functions, which are default functions that can be overridden.
by Gregory Martin
January 20th, 2012, 8:24 am
Forum: Feature Requests
Topic: Create Linux version of CSpro
Replies: 3
Views: 7051

Re: Create Linux version of CSpro

Agreed, and this may be something that eventually comes out, though probably not for some time. The next big project after the Unicode conversion will be porting CSPro so that it works on mobile devices, including Android tablets/phones. That will at least put some of the code base in Java, which wi...
by Gregory Martin
January 20th, 2012, 8:23 am
Forum: Entry
Topic: how to create binary application from commandline?
Replies: 2
Views: 4353

Re: how to create binary application from commandline?

You must invoke CSEntry with the parameter /binaryWin32. You can also use the optional parameter /binaryName. For example: "C:\Program Files\CSPro 4.1\CSEntry.exe" "Census 2000 Data Entry.ent" /binaryWin32 "C:\Program Files\CSPro 4.1\CSEntry.exe" "Census 2000 Data ...
by Gregory Martin
January 17th, 2012, 10:55 am
Forum: Editing
Topic: Multiple logic files
Replies: 1
Views: 4068

Re: Multiple logic files

Mutua, You can see an example here: http://www.csprousers.org/2011/12/09/adding-multiple-logic-files-to-an-application This could be useful for people who create libraries of functions. The same library of functions could be used in many applications. Think of this as similar to include in C/C++ or ...