Re: [NF] Basic4Android Sale

Author: GaryT

Posted: 2014-05-16 at 17:38:05

On 15/05/14 01:22, Dave Crozier wrote:

> For those of you who showed interest when I posted about the Basic4Android software, they are having a sale (not long to go). The enterprise version with 2 years of upgrades is now 84 US dollars with the Standard version (2months of upgrades) at 41 dollars.

>

> If any of you are thinking about any Android development then I can recommend it and the updates/enhancements that have been shipped out in the last few months make it an even better product then when I posted about it.

Fascinating stuff, Dave. Thanks for the intro. The only exposure I've

had to all these newfangled devices has been the family's iPhones and

the wife's Samsung Tablet and you caught my attention. Had once

considered buying an Android Phone or Tablet, but now you have me really

interested in discovering what's involved in programming them.

A search for a list of Functions proved fruitless. A search for the word

'Function' provided a number of individual functions scattered

throughout the various documents. Where one expects a formal list of

built-in functions with an explanation of the various parameters etc,

there appears not to be one. Have you seen one anywhere?

On page 252 of the 326-page Beginners Guide one reads...

The semicolon character ' : ' in the line above is treated in B4A like a

CarriageReturn CR character.

The character they show is in fact a colon.

Then I happened to run across the "FILE" object and found something

weird. Discussing methods in a file object it states the following.

"The File object includes several methods for writing to files and

reading from files. To be able to write to a file or to read from a

file, it must be opened."

Then on page 270 it presents some of those methods. The accurate use of

words in their product development seems to leave a lot to be desired.

Take these words for example: In the functions below, opening for OUTPUT

seems to evaluate to WRITE and opening for INPUT evaluates to READ. This

is so counter intuitive; too many of these could waste a lot of time.

----------------------------------------------------------------------

File.OpenOutput (Dir As String, FileName As String, Append As Boolean)

Opens the given file for output, the Append parameter tells whether the

text will be added at the end of the existing file or not. If the file

doesn't exist it will be created.

---------------------------------------------------------------------

File.OpenInput (Dir As String, FileName As String)

Opens the file for reading.

---------------------------------------------------------------------

File.WriteString (Dir As String, FileName As String, Text As String)

Writes the given text to a new file.

---------------------------------------------------------------------

File.ReadString (Dir As String, FileName As String) As String

Reads a file and returns its content as a string.

---------------------------------------------------------------------

GaryT

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox

OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/5376934D.2040105@taig.net

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2014 GaryT