Search found 534 matches

by Henko
Tue Apr 23, 2019 3:21 pm
Forum: BASIC programs
Topic: Associative array for sB
Replies: 5
Views: 56
Flag: Netherlands

Re: Associative array for sB

Next, i will make a "collection management" app. Besides my programming hobby, my second hobby is Whisky. My "stock" varies between 25 and 30 bottles, from wich about half opened and ready for "sniffing and tasting" :mrgreen: It may seem a lot of bottles, but in the world of real whisky lovers i am ...
by Henko
Tue Apr 23, 2019 9:49 am
Forum: BASIC programs
Topic: Associative array for sB
Replies: 5
Views: 56
Flag: Netherlands

Re: Associative array for sB

There are principal differences between datamine and the associative array (short: array) method: If we recognize difference between internal and external memory, then datamine keeps all data on external ("permanent") memory. Only one record at the time is kept in internal memory. With the array met...
by Henko
Mon Apr 22, 2019 6:17 pm
Forum: BASIC programs
Topic: Associative array for sB
Replies: 5
Views: 56
Flag: Netherlands

Re: Associative array for sB

Some year ago i made a program that transformed a piece of text in another text, using the same words from the original. The first step is an analysis of the original text, establishing for each unique word all words that directly follow that word. The associative array mechanism is a perfect tool f...
by Henko
Sun Apr 21, 2019 9:34 am
Forum: BASIC programs
Topic: Associative array for sB
Replies: 5
Views: 56
Flag: Netherlands

Associative array for sB

Most modern programming languages have an ASSOCIATIVE ARRAY as one of the available data types. It is simply an array in wich the elements are adressable by an alphanumeric key in stead of the numeric keys (0),1,2,3,...,etc. SmartBasic does not have such data type, but it is rather easy coded, toget...
by Henko
Sun Apr 14, 2019 6:17 pm
Forum: BASIC programs
Topic: Word Cloud
Replies: 7
Views: 166
Flag: Netherlands

Re: Word Cloud

I made some adaptations in the code to make it faster. With the present test data both programs take very short time, but with larger files the speed difference (a factor 6) may be of value. The main thing was to sort the arrays, which permits more efficient processing. ' read text file and rejectab...
by Henko
Fri Apr 12, 2019 2:47 pm
Forum: BASIC programs
Topic: Word Cloud
Replies: 7
Views: 166
Flag: Netherlands

Re: Word Cloud

Hi Richard, What, if i have hundreds of ideas: 380F02D7-A1B4-47D7-A811-6BB05B947B5B.png 😂 Some suggestion (you said it's only a start): For use as a brainstorm tool: - the sheet must be able to be build one word at the time - an accompanying note should be attached (in the background) to each word -...
by Henko
Wed Apr 10, 2019 3:38 pm
Forum: BASIC programs
Topic: Sending a batch of emails from within a sB program.
Replies: 4
Views: 100
Flag: Netherlands

Re: Sending a batch of emails from within a sB program.

Yes,
Attaching files like .wav and .jpg is possible (says my informant😁).
by Henko
Wed Apr 10, 2019 8:59 am
Forum: BASIC programs
Topic: Sending a batch of emails from within a sB program.
Replies: 4
Views: 100
Flag: Netherlands

Re: Sending a batch of emails from within a sB program.

I am not sure if files like .wav, jpg, etc. can be specified in the JSON message, but one of the fields is named: "content type", so maybe it is possible. I will have a look at it.
by Henko
Sun Apr 07, 2019 6:54 pm
Forum: BASIC programs
Topic: Sending a batch of emails from within a sB program.
Replies: 4
Views: 100
Flag: Netherlands

Sending a batch of emails from within a sB program.

Some applications require that a batch of emails be sent to selected users about a specific subject, for instance payements that are due. In a club application there might be other aspects that should be communicated to groups of members of varying composition. I asked my son Michiel for ideas to en...
by Henko
Sun Mar 31, 2019 3:14 pm
Forum: BASIC programs
Topic: Minesweeper, final version 29-02-2019
Replies: 3
Views: 115
Flag: Netherlands

Re: Minesweeper, final version 29-02-2019

A new "final" version (31-02-2019) Added: - loosed games are not counted as such if a mine is hit before a white square was touched - detected mines are shown - the use time in seconds is shown in the score window ' minesweeper, version 31-03-2019 (Microsoft game) ' init_prog() do slowdown for i=0 t...