# User Ed - The blog of Ed Price, Customer Program Manager

User Ed is a Microsoft blog written by a Senior Customer Program Manager, Ed Price. Ed enjoys Customer Engagement, UX Design, Small Basic, Power BI, TechNet Wiki, and general education around Microsoft products.
Posts
• #### Small Basic Example: Evaluating Math Functions

Evaluating Math Functions In this example, you’ll use nested if conditions to solve a math problem. You’ll write a program that evaluates y = f ( x ), for a given input, x : The complete program’s in Listing 7-11, along with the...
• #### Small Basic 1.1 on TechNet Wiki

For the first time in Forever (if we measure Forever as being 3 years, 8 months, and 15 days; here's the last release )... Small Basic has launched a new version!!! And being a free tool created by the awesomest people at Microsoft, strung...
• #### Small Basic: Avoiding the Else

Avoiding the Else Let’s say you want to create a program that monitors the state of a system by watching its temperature. If the temperature’s below 100°, the program tells your user that the system’s running normally. If the...
• #### Small Basic - About Fonts

About Fonts A font’s a group of characters that share a style, called a typeface . For example, Times New Roman and Courier New are typefaces. A font’s also characterized by its size. In typography, the size of a font’s measured in...

You can set RGB colors using the BrushColor property of the GraphicsWindow object. Every color’s made up of three values, written in the hexadecimal number system (or hex, for short). In decimal, the number system you’re probably most familiar...
• #### Small Basic - How to change the thickness and color of your lines

First of all, drop in this code to draw a line: GraphicsWindow . Title = "Line Time" GraphicsWindow . DrawLine ( 10 , 70 , 130 , 70 ) If you want to change the thickness or color of the line, use the PenWidth and PenColor properties of...
• #### Small Basic - Changing Properties

Changing Properties You can change many TextWindow properties, but not all properties can be changed. Some objects contain read-only properties, which you can use in your program but can’t change. For example, the Date property of the Clock object...
• #### Small Basic - Make it Easy to Read

Small Basic gives you a lot of freedom to format the different statements in your source code. For example, you can use white spaces and empty lines to make your code easier to read. You can also add comments anywhere in the program to explain what...
• #### Binary Operators in Small Basic

When learning Small Basic (and most all programming languages), you'll need to know a few quick things about binary operators. The arithmetic operators (+, –, *, /) are called binary operators because they require two operands: one operand on...
• #### Small Basic Objects Example: The Microwave

A Word About Objects When learning about Small Basic, you’ll see the words “object” and “method” very often. So we'll start with a definition of these terms. Imagine you're getting ready to watch your favorite TV show...
• #### Small Basic: Mutual Exclusion

A Note on Mutual Exclusion You could write a square root program like this: 1 TextWindow . Write ( "Please enter the object's height (meters): " ) 2 height = TextWindow . ReadNumber () 3 If ( height < 0 ) Then 4 TextWindow ...
• #### Small Basic: (=) a Comparison

When an equal sign (=) appears in a logical expression, it means it’s a comparison, not an assignment. For example, check out the code below: If ( num = 0 ) Then ' The rest of your life-changing code EndIf The first...
• #### Small Basic Example: Leap Year Checker

Leap Year Checker Overview For example, let’s say you want to create a program that checks whether a given year’s a leap year or not. It’s a leap year if the year’s evenly divisible by 4. But if it’s evenly divisible...
• #### Power BI for iPad and iPhone - Now available Worldwide!!!

The "Power BI for iOS" mobile app is now available worldwide! With today's announcement of Power BI Preview availability worldwide, we are happy to announce the mobile app's availability as well. Download the app today and start enjoying Power BI...
• #### Small Basic: "True" String

As it turns out, Small Basic gives a special treatment to the string "True". In Small Basic, the strings "True", "true", and "TRUE" are the same (even though they have different cases)! The next code snippet shows you how Small Basic treats “True”...
• #### Small Basic: If Rollercoasters

If Statements are like Rollercoasters Think of the If statement as a detour in the flow of a program. It’s like an optional roller coaster loop (see Figure below). At some point in the program, the If condition’s checked. If it’s...
• #### Flowcharts

Flowcharts (also called block diagrams or logic diagrams) use symbols help you visualize the logical flow and steps of a program. Here are the most commonly used flowchart symbols: You’ll see flowcharts for some of your programs in Small...
• #### Small Basic: Relational Operators & Strings

The Other Relational Operators Small Basic was designed to strip out as much as it can (it isn’t called Big Complex ). So the other relational operators (<, <=, >, and >=) aren’t defined for strings. If you use any these operators...
• #### New Power Map Features - Coming Soon!

The Power Map team recently released this video to advertise upcoming features! Check it out: But one warning... the music is fun at first, but you might want to turn it off when it starts to repeat. - User Ed
• #### 3 new reasons to love Power Query!

Here they are: Performance improvements Microsoft Dynamics CRM Online connector New transformations Get the deets: http://blogs.office.com/2015/03/05/3-updates-excel-power-query/ Performance improvements We’ve made...
• #### Minecraft Adventure Mode: Underground Base

Please follow along with the Mine Craft adventures from my friends' son, SonicBigBoom: https://www.youtube.com/watch?v=UFUalWgw8pI That growling in my right ear is freaking me out! =^) Thanks for stopping by! - Ninja Ed
• #### DevScope's awesome PowerShell module for Power BI API's

Check out DevScope's awesome PowerShell module for Power BI API's on GitHub: https://github.com/DevScope/powerbi-powershell-modules PowerBIPS.psm1 A powershell module with cmdlets to interact with the PowerBI developer APIs. Have...