rtl

package
v1.1.20 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2018 License: Apache-2.0 Imports: 3 Imported by: 17

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Exclude

func Exclude(in interface{}, val ...uint8) uint32

Exclude Delphi集合减法,val...中存储为位的索引,下标为0

func ExtractFilePath

func ExtractFilePath(filename string) string

ExtractFilePath 提取文件名的路径,带“\”的

func FileExists

func FileExists(filename string) bool

FileExists 判断文件是否存在

func GetStringArrOf

func GetStringArrOf(p uintptr, index int) string

GetStringArrOf 从一个Delphi/Lazarus字符串数组获取成员

func InSets

func InSets(in interface{}, s uint32) bool

InSets Delphi集合类型的判断,类型,然后后面是第几位,下标为0

func Include

func Include(in interface{}, val ...uint8) uint32

Include Delphi集合加法,val...中存储为位的索引,下标为0

func LcLLoaded

func LcLLoaded() bool

LcLLoaded 是否加载的为lcl库,true表是是,false表示不是

func MainInstance

func MainInstance() uintptr

MainInstance EXE自身的实例

func Move

func Move(src, dest uintptr, llen int)

Move Delphi中的内存操作,不过这里传入的是指针

func ShortCutToText

func ShortCutToText(val types.TShortCut) string

ShortCutToText 将ShortCut类型转为字符串

func StrLen

func StrLen(str uintptr) int

StrLen String长度,一般用于对delphi或者lazarus的字符长检测

func SysOpen

func SysOpen(filename string)

SysOpen 打开,windows下调用ShellExecute

func TextToShortCut

func TextToShortCut(val string) types.TShortCut

TextToShortCut 将字符串转为ShortCut类型

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