Kursus dan Bimbingan Belajar
Kursus dan Bimbingan Belajar, Belajar Sambil Bahagia Bersama
Kamis, 27 Februari 2025
Study About AsciiDoctor
Senin, 24 Februari 2025
Visual Basic Naming Conventions And Visual Basic Naming Rules
Visual Basic Naming Rules
Use the following rules when you name procedures, constants, variables, and arguments in a Visual Basic module:
- You must use a letter as the first character or an underscore.
- You can't use a space, period (.), exclamation mark (!), or the characters at symbol (@), Ampersand (&), Dollar sign ($), number sign (#) in the name.
- Name can't exceed 255 characters in length.
- Generally, you shouldn't use any names that are the same as the (intrinsic or default or built-in) function, statement, method, and (intrinsic or default or built-in) constant names used in Visual Basic or by the host application. Otherwise you end up shadowing the same keywords in the language. To use an intrinsic language function, statement, or method that conflicts with an assigned name, you must explicitly identify it. Precede the intrinsic function, intrinsic statement, or intrinsic method name with the name of the associated type library. For example, if you have a variable called Left, you can only invoke the Left function by using VBA.Left.
- Avoid using names in an inner scope that are the same as names in an outer scope. Errors can result if the wrong variable is accessed. If a conflict occurs between a variable and the keyword of the same name, you must identify the keyword by preceding it with the appropriate type library. For example, if you have a variable called Date, you can use the intrinsic Date function only by calling DateTime.Date.
Visual Basic Naming Conventions
The following suggestions apply to naming.
- Begin each separate word in a name with a capital letter, as in FindLastRecord and RedrawMyForm.
- Begin function and method names with a verb, as in InitNameArray or CloseDialog.
- Begin class, structure, module, and property names with a noun, as in EmployeeName or CarAccessory.
- Begin interface names with the prefix "I", followed by a noun or a noun phrase, like IComponent, or with an adjective describing the interface's behavior, like IPersistable. Do not use the underscore, and use abbreviations sparingly, because abbreviations can cause confusion.
- Begin event handler names with a noun describing the type of event followed by the "EventHandler" suffix, as in "MouseEventHandler".
- In names of event argument classes, include the "EventArgs" suffix.
- If an event has a concept of "before" or "after," use a suffix in present or past tense, as in "ControlAdd" or "ControlAdded".
- For long or frequently used terms, use abbreviations to keep name lengths reasonable, for example, "HTML", instead of "Hypertext Markup Language". In general, variable names greater than 32 characters are difficult to read on a monitor set to a low resolution. Also, make sure your abbreviations are consistent throughout the entire application. Randomly switching in a project between "HTML" and "Hypertext Markup Language" can lead to confusion.
Next Visual Basic 6 Variable Prefixes >
Graph Function of Linear Equations in Two Variables Using Latex
Output
Notes
Bibliography
Linear Functions Graph in Latex 1b
1. Type this following latex code in the latex editor:
% !TEX TS-program=pdflatex
% !TEX encoding=UTF-8 Unicode
%
%% File name: linearGraphTypes1b.tex
%% Document Definitions:
%% LINEAR FUNCTIONS GRAPH
%%-----------------------------------
\documentclass[12pt,a4paper]{report}
%% Load Packages
\usepackage{amsmath}
\usepackage{bm}
\usepackage[active,tightpage]{preview}
\PreviewEnvironment{tikzpicture}
\setlength\PreviewBorder{0.25pt}
\usepackage{libertine}
\usepackage{tikz}
\usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\pgfplotsset{%
axis line origin/.style args={#1,#2}{
x filter/.append code={ % Check for empty or filtered out numbers
\ifx\pgfmathresult\empty\else\pgfmathparse{\pgfmathresult-#1}\fi
},
y filter/.append code={
\ifx\pgfmathresult\empty\else\pgfmathparse{\pgfmathresult-#2}\fi
},
xticklabel=\pgfmathparse{\tick+#1}\pgfmathprintnumber{\pgfmathresult},
yticklabel=\pgfmathparse{\tick+#2}\pgfmathprintnumber{\pgfmathresult}
}
}
\makeatletter \newcommand{\pgfplotsdrawaxis}{\pgfplots@draw@axis} \makeatother
\pgfplotsset{
every tick/.append style={color=black},
after end axis/.append code={
\pgfplotsset{
axis line style=opaque,
ticklabel style=opaque,
tick style=opaque,
grid=none
}
\pgfplotsdrawaxis
},
} % applies to major and minor ticks,
\begin{document}
\begin{tikzpicture}
%% Function Title
\node (0,0) {\textbf{Vertical Line Test}};
\node[below] at (0,-0.10) {\textbf{Function}};
\node[below] at (0,-0.45) {\textbf{in}};
\node[below] at (0,-0.75) {\textbf{Coordinate Cartesian}};
\node[below] at (0,-1.1) {\textbf{Plane}};
\end{tikzpicture}
\begin{tikzpicture}[scale=1]
\begin{axis}[x=1cm,y=1cm,
latex-latex,
axis lines = middle,
xlabel = {$x$},
ylabel = {$y$},
xtick = \empty,
ytick = \empty,
xmin=-3.2, xmax=3.2,
ymin=-3.1, ymax=3.1,small, axis on top, grid=none, minor grid style={very thin,gray!30}, major grid style={very thin,gray!30}]
% Plot 2 undefined slope, x = constant, type of line: vertical
\addplot [
domain = -1:5,
samples = 1000,blue,very thick] coordinates {(-1.5,-6)(-1.5,6)}
node [pos=.65, left, black] {\bfseries $\mathbf{x=b}$};
\end{axis}
\end{tikzpicture}
\end{document}
2. Save file as linearGraphTypes1b.tex
3. Then build or typeset the Latex code.
Output
< Previous Linear Functions Graph in Latex 1
Notes
Bibliography
Minggu, 23 Februari 2025
Install Dan Menjalankan XAMPP
- Download dan install software XAMPP jika belum men-download dan meng-install XAMPP.
- Buka "XAMPP Control Panel" (server lokal) dari lokasi XAMPP diinstall, contoh: C:/xampp/htdocs,
- Klik tombol Start di sebelah modul Apache untuk menjalankan Apache jika perlu.
- Klik tombol Start di sebelah modul MySQL untuk menjalankan MySQL jika perlu.
- Klik tombol Start di sebelah modul lainnya jika perlu.
Notes
Related Post
Decision Table
- Each decision corresponds to a variable, relation or predicate whose possible values are listed among the condition alternatives.
- Each action is a procedure or operation to perform, and the entries specify whether (or in what order) the action is to be performed for the set of condition alternatives the entry corresponds to.
- Rules are combinations of conditions and actions. Each row in a decision table typically represents a rule that maps a specific set of conditions to an action. Rules are what make decision tables so powerful; they allow you to manage complex logic by listing out all possible condition-action pairs systematically. Typically to place a simple Boolean values, and the action entries are check-marks. Typically to place a do not care symbol (this can be a hyphen, although using a blank is discouraged as it may merely indicate that the decision table has not been finished).
- One per row, on the left is indicated condition, action,
- Each column on the right is indicated business rules.
Bibliography
Jumat, 21 Februari 2025
Hello World ReactJS Client Server Rendering
Requirement:
- ReactJS version: >=18.
- Modern Internet Browser, e.g. Google Chrome.
- Web Editor or Web IDE or Text Editor.
- Internet connection.
Tutorial:
Output
Notes
Bibliography
Various Other Posts
-
To see the larger Lyx screenshot ( Lyx GUI front end ) and more clear Lyx screenshot ( Lyx GUI front end ), click on the picture. File Menu ...
-
Math Lesson Topics For Pre Kindergarten Numbers Getting To Know Numbers Counting Number Comparing Number: Longer Or Shorter The Equal Symbol...
-
type this following latex code for drawing a number line: \documentclass[tikz,margin=0.25cm]{standalone} \usepackage{tikz} \usepackage{a...
-
Add '-s' to the most singular noun. example: book (singular form) to books (plural form). Add '-es' to singular noun with la...
-
State (Chart/Machine) Diagram Purpose It is used to model dynamic nature of the system. State diagram is used to describe the life time of a...