baslib

package
v0.11.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 25, 2023 License: MIT Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

Functions

func Asc

func Asc(s string) int

func Atn

func Atn(x float64) float64

func Begin

func Begin()

func BoolToInt

func BoolToInt(v bool) int

func Chdir

func Chdir(dir string)

func Chr

func Chr(v int) string

func Close

func Close(number int)

func CloseAll

func CloseAll()

func Cls

func Cls()

func Color

func Color(fg, bg int)

func Cos

func Cos(a float64) float64

func Csrlin

func Csrlin() int

func Date

func Date() string

func End

func End()

func Environ

func Environ(s string)

func EnvironIndex

func EnvironIndex(i int) string

func EnvironKey

func EnvironKey(key string) string

func Eof

func Eof(number int) int

func FileInputCount

func FileInputCount(count, number int) string

func FileInputFloat

func FileInputFloat(number int) float64

func FileInputInteger

func FileInputInteger(number int) int

func FileInputString

func FileInputString(number int) string

func FileNewline

func FileNewline(number int)

func FilePrint

func FilePrint(number int, value string)

func FilePrintFloat

func FilePrintFloat(number int, value float64)

func FilePrintInt

func FilePrintInt(number, value int)

func Files

func Files(pattern string)

func Fix

func Fix(v float64) int

func Hex

func Hex(v int) string

func InitWin

func InitWin(width, height int) *glfw.Window

func Inkey

func Inkey() string

func Input

func Input(prompt, question string, count int) []string

func InputCount

func InputCount(count int) string

func InputParseFloat

func InputParseFloat(str string) float64

func InputParseInteger

func InputParseInteger(str string) int

func Instr

func Instr(begin int, str string, sub string) int

func Int

func Int(v float64) int

func Kill

func Kill(pattern string)

func Left

func Left(s string, size int) string

func LenFloat

func LenFloat(v float64) int

func LenInt

func LenInt(v int) int

func LenStr

func LenStr(v string) int

func Line

func Line(x1, y1, x2, y2, color, style int)

func LineBox

func LineBox(x1, y1, x2, y2, color, style int, fill bool)

func Locate

func Locate(row, col int)

func LocateCursor

func LocateCursor(row, col int, cursor bool)

func Lof

func Lof(number int) int

func Log

func Log(v float64) float64

func Mid

func Mid(s string, begin int) string

func MidSize

func MidSize(s string, begin, size int) string

func Mkdir

func Mkdir(dir string)

func Name

func Name(from, to string)

func Oct

func Oct(v int) string

func Open

func Open(name string, number, mode int)

func PReset

func PReset(x, y, color int)

func PSet

func PSet(x, y, color int)

func Peek

func Peek(addr int) int

func Pos

func Pos() int

func Pow

func Pow(a, b float64) float64

func Print

func Print(s string)

func PrintFloat

func PrintFloat(f float64)

func PrintInt

func PrintInt(i int)

func Println

func Println(s string)

func Randomize

func Randomize(seed float64)

func RandomizeAuto

func RandomizeAuto()

func ReadDataFloat

func ReadDataFloat(data []interface{}, name string) float64

func ReadDataInteger

func ReadDataInteger(data []interface{}, name string) int

func ReadDataString

func ReadDataString(data []interface{}, name string) string

func Restore

func Restore(data []interface{}, line string, pos int)
func Right(s string, size int) string

func Rmdir

func Rmdir(dir string)

func Rnd

func Rnd(v float64) float64

func Screen

func Screen(mode int)

func ScreenFunc

func ScreenFunc(row, col int, colorFlag bool) int

func Sgn

func Sgn(v float64) int

func Sin

func Sin(a float64) float64

func Sqr

func Sqr(v float64) float64

func StrFloat

func StrFloat(v float64) string

func StrInt

func StrInt(v int) string

func String

func String(s string, count int) string

func Tab

func Tab(col int) string

func Tan

func Tan(a float64) float64

func Time

func Time() string

func Timer

func Timer() float64

func Val

func Val(s string) float64

func ViewPrint

func ViewPrint(top, bottom int)

func ViewPrintReset

func ViewPrintReset()

func Width

func Width(w int)

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL