Recently Updated Posts

ezmoney
Junior Member
**

ezmoney Avatar

Posts: 69

mmiscool
Full Member
***

mmiscool Avatar

Send me a message if you want to help with a WEB OS project
Posts: 106

Check out the code wiki at http://smbisoft.com[br]The code wiki allows for multiple users to work on the same project at the same time in just basic.[br][br]SMBISoft ____888-LAN-Zoli _____ 888-526-9654
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
ezmoney
Junior Member
**

ezmoney Avatar

Posts: 69

mmiscool
Full Member
***

mmiscool Avatar

Send me a message if you want to help with a WEB OS project
Posts: 106

Check out the code wiki at http://smbisoft.com[br]The code wiki allows for multiple users to work on the same project at the same time in just basic.[br][br]SMBISoft ____888-LAN-Zoli _____ 888-526-9654
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
mmiscool
Full Member
***

mmiscool Avatar

Send me a message if you want to help with a WEB OS project
Posts: 106

Check out the code wiki at http://smbisoft.com[br]The code wiki allows for multiple users to work on the same project at the same time in just basic.[br][br]SMBISoft ____888-LAN-Zoli _____ 888-526-9654
mmiscool
Full Member
***

mmiscool Avatar

Send me a message if you want to help with a WEB OS project
Posts: 106

Post by mmiscool on Apr 19, 2013 17:48:11 GMT -5

Hello,

I tried to use the eval function and it seems to fail in run basic.

Has this feature been implemented?

print eval("2*3")
end



the error rb returns is as follows
My subclass should have overridden one of my messages.

SubclassResponsibilityError class(GenericException class)>>raiseErrorString:
self SubclassResponsibilityError
temps
t1 an UserMessage('My subclass should have overridden one of my messages.', #errSubclassResponsibility, #dialogs)...etc...
inst vars
superclass Error
methodDict MethodDictionary ()
format 16394
subclasses nil
instanceVariables nil
organization
name #SubclassResponsibilityError
classPool nil
environment Core
notifierString an UserMessage('Subclass responsibility ', #exceptSubclassResponsibility, #dialogs)
EvalNumericFunction class(Object)>>subclassResponsibility
self EvalNumericFunction
temps
inst vars
superclass AbstractFunction
methodDict MethodDictionary ()
format 16384
subclasses nil
instanceVariables nil
organization
name #EvalNumericFunction
classPool EvalNumericFunction asNameSpace
environment nil
members nil
EvalNumericFunction class(AbstractFunction class)>>generateFromParameters:
self EvalNumericFunction
temps
t1 OrderedCollection ({'2*3'})
inst vars
superclass AbstractFunction
methodDict MethodDictionary ()
format 16384
subclasses nil
instanceVariables nil
organization
name #EvalNumericFunction
classPool EvalNumericFunction asNameSpace
environment nil
members nil
AbstractFunction class>>from:parameters:program:
self AbstractFunction
temps
t1 ParameterizedKeywordRule: eval(
t2 OrderedCollection ({'2*3'})
t3 a Program
t4 nil
inst vars
superclass Object
methodDict MethodDictionary ()
format 16384
subclasses #(InputFunction MinFunction MaxFunction UpperFunction EvalNumericFunction CosFunction DechexFunction...etc...
instanceVariables nil
organization
name #AbstractFunction
classPool AbstractFunction asNameSpace
environment nil
members Dictionary ('hexdec('->HexdecFunction 'eof('->EofFunction 'tan('->TanFunction 'asc('->AscFunction 'm...etc...
ExpressionCompiler>>parseTop
self an ExpressionCompiler
temps
t1 OrderedCollection ({'2*3'})
t2 ParameterizedKeywordRule: eval(
t3 nil
t4 OrderedCollection ({'2*3'})
t5 nil
inst vars
expression OrderedCollection (ParameterizedKeywordRule: eval( {'2*3'} RightParenthesisRule: ))
owner nil
stack OrderedCollection ()
product a Program

Check out the code wiki at http://smbisoft.com[br]The code wiki allows for multiple users to work on the same project at the same time in just basic.[br][br]SMBISoft ____888-LAN-Zoli _____ 888-526-9654
mmiscool
Full Member
***

mmiscool Avatar

Send me a message if you want to help with a WEB OS project
Posts: 106

Post by mmiscool on Apr 15, 2013 21:19:04 GMT -5

Hello all,

I have been playing with this app and using it for my home security system and other home automation functions.

One thing that i wanted was to make it so that you could activate the speech recognition with the button on a blue tooth head set.

I have been able to do that using this app.

forum.xda-developers.com/showthread.php?t=836243

The latest beta apk works best for me. There is a version in the google play market for free but it seems to have a problem on my device.

All you have to do is download this and set it to use "RB Voice" screen 1 as the default button action.

There will be more to come on this but for now I think this is about it.

On a side note has any one else used run basic to do home automation tasks or am I the only one out there doing this kind of stuff.

If there is any one out there who is doing this kind of stuff give a shout and may be we can compare notes :-)

-Mike
Check out the code wiki at http://smbisoft.com[br]The code wiki allows for multiple users to work on the same project at the same time in just basic.[br][br]SMBISoft ____888-LAN-Zoli _____ 888-526-9654
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM
ezmoney
Junior Member
**

ezmoney Avatar

Posts: 69

Post by ezmoney on Apr 11, 2013 1:17:13 GMT -5

I was looking at the time function shortly after midnight...

But the number don't seem to jive :o

I wrote it out and took the information from the help file and used
that also...

The numbers were very large and I don't understand why being it was about 1 am in the morning....

The number is way to large for the time of the day.

Can anybody explain this? ???

print date$();" ";time$()
print time$("seconds")

print time$() 'time now as string "16:21:44"
print time$("seconds") 'seconds since midnight as number 32314
print time$("milliseconds") 'milliseconds since midnight as number 33221342
print time$("ms") 'milliseconds since midnight as number 33221342


The print out...
Apr 11, 2013 01:01:31
3543112891
01:01:31
3543112891
3543112891829
3543112891829

ezmoney
Junior Member
**

ezmoney Avatar

Posts: 69

StefanPendl
Global Moderator
*****

StefanPendl Avatar

Run for BASIC ...
Posts: 945

Post by StefanPendl on Apr 10, 2013 16:10:09 GMT -5

ezmoney Avatar
I thought of using a random file with one of the links used to store the pointer to the next
input to the program... Mulitple programs could open and read but not write...


Random access files are open for read and write, there is no sharing of the file possible.

Windows allows to open a file for reading by multiple processes, if there is reading shared, but RB doesn't offer this ability.

RB always handles file access exclusively.
[b]Stefan[/b] - [a href=http://stefanpendl.runbasichosting.com/]Homepage[/a][br][br][b]Please give credit if you use code I post, no need to ask for permission.[/b][br][br]Run BASIC 1.01, Fire-/Waterfox (IE11, Edge), Windows 10 Professional x64, Intel Core i7-4710MQ 2.5GHz, 16GB RAM