yes that works! But help says: compiler will asume automatically string as in my version.(In former compiler version (avr,dspic) it worked that way too!
It seems that there are some changes.
Search found 158 matches
- 28 Sep 2008 13:30
- Forum: mikroBasic PRO for 8051 General
- Topic: What are stringconstants good for?
- Replies: 2
- Views: 4830
- 28 Sep 2008 11:05
- Forum: mikroBasic PRO for 8051 General
- Topic: What are stringconstants good for?
- Replies: 2
- Views: 4830
What are stringconstants good for?
Tried to do this simple thing:
const TESTR = "Hello World"
dim msg1 as string[20]
msg1 = TESTR
doen't work!
const TESTR as char[11] = (72,69,76,76,79,32,87,79,82,76,68,0)
dim msg1 as string[20]
msg1 = TESTR
works!!!?
Thopas
const TESTR = "Hello World"
dim msg1 as string[20]
msg1 = TESTR
doen't work!
const TESTR as char[11] = (72,69,76,76,79,32,87,79,82,76,68,0)
dim msg1 as string[20]
msg1 = TESTR
works!!!?
Thopas
- 26 Sep 2008 12:55
- Forum: mikroBasic PRO for AVR Beta Testing
- Topic: Beta Testing Volunteer
- Replies: 14
- Views: 14892
To be comparable with the other compilers, the library or compiler generated wrapper code should have flash and RAM based versions of PRINT with some or all or no arguments in flash PRINT formatted with format declaration in flash or RAM string compare string assignment scalars and arrays of consta...
- 23 Sep 2008 17:51
- Forum: mikroBasic PRO for AVR Beta Testing
- Topic: Beta Testing Volunteer
- Replies: 14
- Views: 14892
Wrong concept. What you describe is initialization of BSS. In a Harvard architecture chip like the PIC and AVR, one puts constants in flash and use them from flash. You do not copy them to RAM to use them. Compiler and library should have calls to pass pointers to strings in flash, not copy from fl...
- 11 Sep 2008 19:00
- Forum: mikroBasic PRO for 8051 Beta Testing
- Topic: first test )
- Replies: 4
- Views: 7606
8051basic beta
rmteo wrote:Where do you find mikroBASIC for 8051. I don't see it here:
http://www.mikroe.com/en/compilers/
you find it here: http://www.mikroe.com/upld/mikrobasic_8 ... 92beta.rar
Thopas
- 27 Aug 2008 20:29
- Forum: mikroC PRO for 8051 General
- Topic: Saving window changes
- Replies: 3
- Views: 3680
Thanks zristic, you are so right, i could have read this in the help. But why making things so complicated. When you are working with an IDE you are expecting some kind of behaviour, you know from other IDE's like textprograms and so on. And the most simple thing is: Save the things as they are at t...
- 26 Aug 2008 17:32
- Forum: mikroC PRO for 8051 General
- Topic: Saving window changes
- Replies: 3
- Views: 3680
Saving window changes
Is there any possibility to get the IDE save changes to the windows? It always starts with a default set of the windows positions and dimensions ignoring my changes during the session.
- 24 May 2008 16:23
- Forum: mikroBasic for AVR Wish List
- Topic: more dimensions in arrays
- Replies: 1
- Views: 4108
more dimensions in arrays
more then 1 dimension in arrays is a must!
and: ... the manchester-coding/decoding would be nice.
greetings Thopas
and: ... the manchester-coding/decoding would be nice.
greetings Thopas