sx_BaseName

<< Click to Display Table of Contents >>

Navigation:  Apollo API Listing >

sx_BaseName

VB Declaration

Declare Function sx_BaseName Lib "Apollo9.dll" () As String

C Declaration

LONG FAR PASCAL sx_BaseName (VOID);

Description

Extracts the DOS path and file name attached to the current work area.

Return Value

The file name is returned as a string.

VB Example

' Display table info

Text1.Text = sx_WorkArea(0&)

Text2.Text = sx_BaseName()

Text3.Text = sx_Alias(0)

C Example

m_namebox->SetStrProperty("Text", (LPCSTR) sx_BaseName());

See Also

sx_BaseDate