Just wanted to let you know that in Hindi we have different symbols for
consonant and vowels.
If I write a programme with only consonants like
---------------------------------------------------------------------
---------------------------------------------------------------------
package main
import (p"fmt"
)
func main(){
सम(1,1,1,21323,2,2,32,1,)
}
func सम (num ...int){
var total int
for _, r:= range num{
total = total + r
}
p.Println("तुन्हारा जोड़ है ",total)
}
---------------------------------------------------------------------
---------------------------------------------------------------------
it works Fine
But If I add vowel to make it an understandable word. The code breaks...
---------------------------------------------------------------------
---------------------------------------------------------------------
package main
import (p"fmt"
)
func main(){
समो(1,1,1,21323,2,2,32,1,)
}
func समो (num ...int){
var total int
for _, r:= range num{
total = total + r
}
p.Println("तुन्हारा जोड़ है ",total)
}
---------------------------------------------------------------------
---------------------------------------------------------------------
it gives me this error.
# command-line-arguments .\Try.go:7: invalid identifier character U+094B
'ो' .\Try.go:12: invalid identifier character U+094B 'ो'
---------------------------------------------------------------------
---------------------------------------------------------------------
however it is necessary to handle it because we can't make a proper word
without consonant...
Kindly Use a Person who understands the language so to know what is the
problem...
---------------------------------------------------------------------
---------------------------------------------------------------------
And thanks for a wonderful language now all it needs is a data handling library
like panda or data.table cause entire world is moving towards data science....
but overall nice work thanks.....
do reply
--
You received this message because you are subscribed to the Google Groups
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.