Bugs and Suggestions for the Helpfile

new BookmarkLockedFalling
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
Alyce
Administrator
*****

Alyce Avatar

Posts: 519Female

Post by Alyce on Jan 28, 2008 17:14:52 GMT -5

MKDIR(p$) - Create directory path p$. Return 1 or 0 for failure or success respectively.

RMDIR(p$) - Delete directory path p$. Return 1 or 0 for failure or success respectively.

I noticed that Mike modified the Building Block on the wiki for rmdir and mkdir, and this is why he made the change. The lines above are from the RB help document. The flags for success and failure are switched.

Should be:

MKDIR(p$) - Create directory path p$. Return 0 or 1 for failure or success respectively.

RMDIR(p$) - Delete directory path p$. Return 0 or 1 for failure or success respectively.


-Alyce
Jerry Muelver
Administrator
*****

Jerry Muelver Avatar

Posts: 521

Post by Jerry Muelver on Jan 28, 2008 18:17:33 GMT -5

MKDIR(p$) - Create directory path p$. Return 0 or 1 for failure or success respectively.

No "respectively" please. Does not translate well, and in fact does not scan well. How about:

MKDIR(p$) - Create directory path p$. Return 0 for failure, or 1 for success.

RMDIR(p$) - Delete directory path p$. Return 0 for failure, or 1 for success.
Janet
Global Moderator
*****

Janet Avatar

Posts: 276

Post by Janet on Oct 23, 2008 20:00:44 GMT -5

I'm 'respectively' submitting this suggestion:

In the new documentation (Beta2+), the Button was added. Instances of 'link' should be changed to 'button.'
BUTTON methods

#handle CSSCLASS() - Set the CSS class tag
#handle SETKEY(stringExpr$) - Set the link's event key to stringExpr$
#handle SETID(expr$) - Set the HTML id property to be the value of expr$
#handle ISNULL() - Returns zero (or false)
#handle DEBUG$() - Returns the string "Link"

In particular, SetKey() and Debug$().
The same with ImageButton

IMAGEBUTTON methods

#handle CSSCLASS() - Set the CSS class tag
#handle SETKEY(stringExpr$) - Set the link's event key to stringExpr$
#handle SETID(expr$) - Set the HTML id property to be the value of expr$
#handle TOOLTIP(expr$) - Set a tooltip for the imagebutton using the value of expr$
#handle ISNULL() - Returns zero (or false)
#handle DEBUG$() - Returns the string "Link"

(削除) Respectively (削除ここまで) Respectfully submitted, Janet
[br]
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
cybalion
New Member
*

cybalion Avatar

Posts: 1

Alyce
Administrator
*****

Alyce Avatar

Posts: 519Female

-Alyce
Alyce
Administrator
*****

Alyce Avatar

Posts: 519Female

-Alyce
Psycho
Full Member
***

Psycho Avatar

Posts: 196

Post by Psycho on Nov 13, 2009 21:21:43 GMT -5

These links:
See also: SUB , Recursion, Functions and subroutines

under the FUNCTIONS description lead to the following error message:
Application Error
A fatal error has occurred in this application. Please contact this site's administrator.

ERROR_PATH_NOT_FOUND ("c:\rbp101\public\Program Files\Liberty BASIC v4.04 beta 3\lb4help\LibertyBASIC_4_web\html\libe8tpt.htm")


John "Psycho" Siejkowski
sundale
New Member
*

sundale Avatar

Posts: 34

Post by sundale on Mar 3, 2010 11:12:11 GMT -5

RB help for time$ description " it reads
"print time$("seconds") 'seconds since midnight as number 32314"
But actual value is seconds in Julian date.


print "date$(""days"")="; date$("days")
print "time$(""seconds"") = "; time$("seconds")
print "time$(""seconds"")/(3600*24) = "; time$("seconds")/(3600*24)
print "time$(""ms"") = ";time$("ms")


The Result is
date$("days")=39874
time$("seconds") = 3445085107
time$("seconds") / (3600*24) = 39873.6715
time$("ms") = 3445085372141
i7Q720/win7/ RB v1.0.1 Build 2.44
krzysztof
New Member
*

krzysztof Avatar

Posts: 45

Post by krzysztof on Aug 11, 2013 5:48:13 GMT -5

Last Edit: Aug 13, 2013 15:00:53 GMT -5 by krzysztof