Ok so i've been playing around with F# the last few days and found some tutorials kicking around online (no solutions!) If i had the following list-
let new = [
(1808,"RS");
(1974,"UE");
(1066,"UE");
(3005,"RS");
(2007,"UE");
(2012,"UE");
…
I'm trying to get the length of a multidimensional Array as follows, but when I test it with alert() I get undefined. I would like to know how many items has the parent array (myArray), as I would like then to use it in a cycle…
I have a situation where
if len(a) = 0
a = ''
if len(b) = 0
b = ''
if len(c) = 0
c = ''
If len( any object) is zero , declare it as null.
I have to keep doing this for all the alphabets . What is the best way to code it.
Additional…
I have a nested struct and I need to find the length of an array which is one of the fields in the struct.
Here are the structs :
type TextEntry struct{
name string
Doc []DocEntry
}
type DocEntry struct {
rank: int
last: string
…