replica nfl jerseysreplica nfl jerseyssoccer jerseyreplica nfl jerseys forums.silverfrost.com :: Search
forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Search found 111 matches
forums.silverfrost.com Forum Index
Author Message
  Topic: Any limit in SCC to the size of strings, or of integer array
Little-Acorn

Replies: 1
Views: 5837

PostForum: General   Posted: Tue Dec 25, 2012 3:47 am   Subject: Any limit in SCC to the size of strings, or of integer array
Merry Christmas!

Yes, I'm doing this even on Christmas Eve. "The Polar Express" starts in 15 minutes. Smile

To the subject:

In the SCC compiler, is there any limit to the size of char ...
  Topic: If I EDIT_FILE_OPEN a text file in an edit box in SCC.....
Little-Acorn

Replies: 2
Views: 6655

PostForum: General   Posted: Wed Dec 05, 2012 7:51 pm   Subject:
Bingo! Works great now! Thank you again, Paul!
  Topic: If I EDIT_FILE_OPEN a text file in an edit box in SCC.....
Little-Acorn

Replies: 2
Views: 6655

PostForum: General   Posted: Wed Dec 05, 2012 2:38 am   Subject: If I EDIT_FILE_OPEN a text file in an edit box in SCC.....
I set up an edit box with a buffer called asmfilebuf. I had previously defined that buffer as a global variable with a "char asmfilebufasmfilebuf.

The sequence is:
1.) I start the program, w ...
  Topic: How to pick a shorter substring out of a long string in SCC?
Little-Acorn

Replies: 3
Views: 7703

PostForum: General   Posted: Sat Dec 01, 2012 2:32 am   Subject:
strncpy takes the FIRST characters found in a string, not characters from somewhere in the middle of the string, correct?
  Topic: How to refresh a text buffer in an edit-box window, with SCC
Little-Acorn

Replies: 11
Views: 16096

PostForum: General   Posted: Sat Dec 01, 2012 1:36 am   Subject:
Bingo, thank you Paul!
  Topic: Any info on time functions in SCC compiler?
Little-Acorn

Replies: 1
Views: 5705

PostForum: General   Posted: Fri Nov 30, 2012 9:18 pm   Subject: Any info on time functions in SCC compiler?
I managed to trip over the time function and timediff functions, and gotten them to work. They produce the time and date, down to the nearest integer second.

I'm hoping to find something that prod ...
  Topic: How to pick a shorter substring out of a long string in SCC?
Little-Acorn

Replies: 3
Views: 7703

PostForum: General   Posted: Fri Nov 30, 2012 9:12 pm   Subject: How to pick a shorter substring out of a long string in SCC?
If I have a string in a variable cline, whose value is "Now is the time for all good men", is there a way I can assign characters 7 thru 18 into another string variable, so the new (shorter) ...
  Topic: How to refresh a text buffer in an edit-box window, with SCC
Little-Acorn

Replies: 11
Views: 16096

PostForum: General   Posted: Fri Nov 30, 2012 9:04 pm   Subject:
Now I just need to figure out a way to place this window where I want on the screen.

The drawstatwin function puts up a window, that has the Edit Box in it. But I was surprised to find that the %ap ...
  Topic: How to refresh a text buffer in an edit-box window, with SCC
Little-Acorn

Replies: 11
Views: 16096

PostForum: General   Posted: Fri Nov 30, 2012 9:04 pm   Subject:
(oops, duplicate post, sorry)
  Topic: How to refresh a text buffer in an edit-box window, with SCC
Little-Acorn

Replies: 11
Views: 16096

PostForum: General   Posted: Fri Nov 30, 2012 4:52 pm   Subject:
Works great now! Thank you, Paul and Eddie, for catching one of my sillier stupidities.

Strange how I didn't get a compile-time error for misspelling it. Perhaps there actually is another function ...
  Topic: How to refresh a text buffer in an edit-box window, with SCC
Little-Acorn

Replies: 11
Views: 16096

PostForum: General   Posted: Fri Nov 30, 2012 1:31 am   Subject:
Thank you, Paul. I downloaded the driver, and the HELP file now works fine.

And, strcat works as advertised. Looks like I don't have to worry about inserting or deleting \0 characters.

But for s ...
  Topic: How to refresh a text buffer in an edit-box window, with SCC
Little-Acorn

Replies: 11
Views: 16096

PostForum: General   Posted: Wed Nov 28, 2012 1:58 am   Subject: How to refresh a text buffer in an edit-box window, with SCC
I am putting together a "Status Window" that will be used by a C program as it runs, compiled on the SCC compiler. (I did sometimg similar a year or two ago using Ftn95). It is opened at the ...
  Topic: Printing from inside a function with SCC?
Little-Acorn

Replies: 2
Views: 6814

PostForum: General   Posted: Tue Nov 27, 2012 7:16 am   Subject: Re: Printing from inside a function with SCC?

But why it doesn't print out "Function writstat has been entered" with the carriage-returns?

It's simply because you never call the function writstat in your code, you are missing () af ...
  Topic: Printing from inside a function with SCC?
Little-Acorn

Replies: 2
Views: 6814

PostForum: General   Posted: Tue Nov 27, 2012 5:42 am   Subject: Printing from inside a function with SCC?
I drew a simple function, intended to print out a single line (with several carriage-returns). But for some reason it doesn't.

First the main program should print out a carriage return followed by ...
  Topic: Can SCC compiler put up windows, edit boxes etc.?
Little-Acorn

Replies: 8
Views: 11072

PostForum: General   Posted: Sun Nov 25, 2012 1:03 am   Subject: Re:
Paul this example works! Thank you - it is invaluable.

Time for a few dumb questions:

1.) The first three "int" statements (and the stuff that comes after them in curly braces) define ...
 
Page 1 of 8 Goto page 1, 2, 3, 4, 5, 6, 7, 8  Next
All times are GMT + 1 Hour
Jump to:  


Powered by phpBB © 2001, 2005 phpBB Group