The Xbasic Programming Environment
/documentation/pages/Ref/Xbasic/Reference/The Xbasic Programming Environment.xml
Xbasic is Alpha Anywhere's programming language. You use Xbasic to create scripts. Scripts can be run in several different ways. A Global Script can be run from the Control Panel by simply double clicking on it, or clicking the "Run" button.
Understanding the Programming Process
/documentation/pages/Guides/Xbasic/Other Xbasic Topics/Understanding the Programming Process.xml
Hopefully, you (the developer of a database application) realize that Web Publishing allows you to create applications without actually programming. The various genies, utilities, and Action Scripting allow you to generate programs by dealing with design issues at a higher level, and letting the Application Server generate and run the necessary programs in the background.
Xbasic Help Pages
/documentation/pages/Index/Xbasic Help Pages.xml
[The Xbasic Programming Environment]
Configuring the Development Environment
/documentation/pages/Server/Guide/Design/View/Configuring the Development Environment.xml
The first step in your preparation for developing web applications is to create one or more web project profiles. A web project profile defines where you will be publishing your files, both for testing and for deployment. You can have as many profiles as you need. By default you start with one profile named "Local Webroot". You need to create one more profile that defines the location of the publicly available website.
Creating and Programming Hotspots with Xbasic
/documentation/pages/Guides/Desktop/Design/Platform/Xbasic/Creating and Programming Hotspots with Xbasic.xml
Many of the forms in the AlphaSports application have a set of images in the lower right corner. At first, you might think these were buttons with image labels. In fact, they are actually composed of two layered images and a set of Hotspots. A hotspot is similar to a button without a visible component. It is a rectangular region that responds to an OnPush event and will run either an Action Script or Xbasic code.
The Xbasic Debugger
/documentation/pages/Guides/Xbasic/An introduction to Xbasic/theXbasicDebugger.xml

The showvar() function is useful for displaying information in the development environment. However, the showvar() function can only be used in the IDE. In an Ajax callback, showvar() is not available. This is because the Xbasic code in an Ajax callback runs on the server while the application the user interacts with runs in the browser (the client.) Popup windows created using Xbasic are not accessible in the browser. Instead, you need to use the Xbasic Debugger to debug the code.

The Xbasic Debugger provides tools for inspecting your Xbasic scripts during script execution. The debugger provides standard debugging tools, such as breakpoints, watch variables, and the ability to step line-by-line through script execution.

The Xbasic Debugger is opened using the debug() function:

This statement opens the Xbasic Debugger in the Alpha Anywhere Development Environment. Let's try it out. Copy the code below into the Interactive Window. Then, select all of the code and select "Run Selected Code" from the right-click context menu.

Using the Xbasic Window
/documentation/pages/Guides/Xbasic/Xbasic in Desktop Applications/Using the Xbasic Window.xml
By default, the Xbasic window shows the Raw Xbasic code for the operation. Raw Xbasic means the code shown is the exact code for the currently defined operation. It's a direct translation of what's in your Operation Card. The Raw Xbasic view is great for seeing what's going on behind-the-scenes when you are creating an Operation, but Raw Xbasic has little meaning outside the Operation Card. That's where the Processed Xbasic view comes in. Using the radio buttons, you can switch the view between Raw Xbasic, Processed Xbasic, and Processed without Confirmation dialogs.
How to Determine the Version for the Alpha Anywhere Development Environment
/documentation/pages/HowTo/Deployment_Testing/Determine the version of Alpha Anywhere.xml

Version information for Alpha Anywhere can be found under the Help menu in the About Alpha Anywhere dialog.

Environment Functions
/documentation/pages/Ref/Portable SQL/Environment Functions/index.xml
Portable SQL environment functions.
Viewing the Xbasic of Operations
/documentation/pages/Guides/Desktop/Design/Data/Operation/Viewing the Xbasic of Operations.xml
Alpha Anywhere allows you to create and save operations that you users may need to perform on a repetitive basis. The operations that you may create are: