PowerBuilder

1 program Added 2025-10-22T16:00:49Z Model: google/gemini-2.5-flashTemp: 0.4 Evidence Report issue View issues
Aliases: PB
Provenance: commit 1a79084c98 · authored 2025-10-22T18:00:49+02:00 · model google/gemini-2.5-flash

Sources mentioning this language

5 sources · pl_id: pl/powerbuilder
LLM (this repo) · 1PldbLinguistHyperpolyglotRosettacode

Extensions claimed by this language

4 claims. Each row is one upstream assertion with its strength. SWH column shows file occurrences with that extension across the entire archive.
ExtensionSourceStrengthSWH
.pbtlinguistprimary351.8K files
.sralinguistsecondary3.4K files
.srulinguistsecondary26.7K files
.srwlinguistsecondary39.1K files

Related languages

PowerBASIC (0.39)Power Fx (0.29)Ponder (0.19)ADMB (0.17)Powerhouse (0.16)

LLM-contributed programs

Hello World

Provenance: commit 1a79084c98 · authored 2025-10-22T18:00:49+02:00 · model google/gemini-2.5-flash · Temp 0.4
code.srp · added: 2025-10-22T16:00:49Z
/* Hello World in PowerBuilder */

// Open event of a window
MessageBox("Hello", "Hello World!")

Real programs from Software Heritage

2 samples mined from derived_datasets/<date>/contents/*.parquet, byte-verified against the SWH archive. Citation-grade qualified SWHIDs preserved.
n_dwr_dw_storage.sru · 1520 B · ext .sru · seen 3× in SWH
via fallback
swh:1:cnt:93eb3b23032c3aa6d1ecef135d948aa956576d72;origin=https://github.com/cod0122/M2000_2016;anchor=swh:1:rev:d01edf02f06d2f29fe0c20ef64ee6510064c26d4;path=/ws_objects/dw2xls_pb126.pbl.src/n_dwr_dw_storage.sru
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
$PBExportHeader$n_dwr_dw_storage.sru
forward
global type n_dwr_dw_storage from nonvisualobject
end type
end forward

shared variables
String is_name[]
String is_syntax[]
String is_comment[]

end variables

global type n_dwr_dw_storage from nonvisualobject
end type
global n_dwr_dw_storage n_dwr_dw_storage

forward prototypes
public subroutine of_clear ()
public subroutine of_add_dw (string as_name, string as_syntax, string as_comment)
public function integer of_storetopbl (string as_pbl)
end prototypes

public subroutine of_clear ();String ls_empty[]

is_name[] = ls_empty[]
is_syntax[] = ls_empty[]
is_comment[] = ls_empty[]

end subroutine

public subroutine of_add_dw (string as_name, string as_syntax, string as_comment);Long ll_next

ll_next = UpperBound(is_name[]) + 1
is_name[ll_next] = as_name
is_syntax[ll_next] = as_syntax
is_comment[ll_next] = as_comment

end subroutine

public function integer of_storetopbl (string as_pbl);Int li_ret
Long ll_i

If FileExists(as_pbl) And Not FileDelete(as_pbl) Then
	Return -1
End If

li_ret = LibraryCreate(as_pbl)
If li_ret <> 1 Then 
	Return li_ret
End If
String ls_errors
For ll_i = 1 To UpperBound(is_name[])
	li_ret = LibraryImport( &
		as_pbl, &
		is_name[ll_i], &
		ImportDatawindow!,  &
		is_syntax[ll_i], &
		ls_errors, &
		is_comment[ll_i] &
	)
Next
Return 1
end function

on n_dwr_dw_storage.create
call super::create
TriggerEvent( this, "constructor" )
end on

on n_dwr_dw_storage.destroy
TriggerEvent( this, "destructor" )
call super::destroy
end on

CRT Monitor.pbt · 18524 B · ext .pbt · seen 2× in SWH
via unique-primary
swh:1:cnt:7a9df05c1fc3ce49d291c0103e07ce2d30a59170;origin=https://github.com/varglbargl/Cyberpunk-Shoplifter-Pro;anchor=swh:1:rev:5768e500c3f70c609ff917996dceaa0664befc47;path=/Data/Templates/CRT Monitor.pbt
Open in SWH · Raw bytes (SWH) · GitHub raw
Show source
Assets {
  Id: 3540718237856221996
  Name: "CRT Monitor"
  PlatformAssetType: 5
  TemplateAsset {
    ObjectBlock {
      RootId: 2030039383200976830
      Objects {
        Id: 2030039383200976830
        Name: "CRT Monitor"
        Transform {
          Scale {
            X: 1
            Y: 1
            Z: 1
          }
        }
        ParentId: 4781671109827199097
        ChildIds: 8984785358939882584
        ChildIds: 6471423606563072240
        ChildIds: 4929391090619303636
        ChildIds: 8069050782688999218
        ChildIds: 2943662152042532998
        ChildIds: 1511366225747737084
        ChildIds: 11792564355760575686
        ChildIds: 15043642374087211669
        Collidable_v2 {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        Visible_v2 {
          Value: "mc:evisibilitysetting:inheritfromparent"
        }
        CameraCollidable {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        EditorIndicatorVisibility {
          Value: "mc:eindicatorvisibility:visiblewhenselected"
        }
        Folder {
          IsGroup: true
        }
      }
      Objects {
        Id: 8984785358939882584
        Name: "Pipe - 4-Sided"
        Transform {
          Location {
            X: -52
            Z: 53
          }
          Rotation {
            Pitch: -90
          }
          Scale {
            X: 1.1
            Y: 1.1
            Z: 0.2
          }
        }
        ParentId: 2030039383200976830
        UnregisteredParameters {
          Overrides {
            Name: "ma:Shared_BaseMaterial:id"
            AssetReference {
              Id: 17236326679888273352
            }
          }
          Overrides {
            Name: "ma:Shared_BaseMaterial:color"
            Color {
              R: 0.911000073
              G: 0.84310019
              B: 0.754308045
              A: 1
            }
          }
        }
        Collidable_v2 {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        Visible_v2 {
          Value: "mc:evisibilitysetting:inheritfromparent"
        }
        CameraCollidable {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        EditorIndicatorVisibility {
          Value: "mc:eindicatorvisibility:visiblewhenselected"
        }
        CoreMesh {
          MeshAsset {
            Id: 2903815031139824302
          }
          Teams {
            IsTeamCollisionEnabled: true
            IsEnemyCollisionEnabled: true
          }
          StaticMesh {
            Physics {
              Mass: 100
              LinearDamping: 0.01
            }
            BoundsScale: 1
          }
        }
      }
      Objects {
        Id: 6471423606563072240
        Name: "Sphere:Cube "
        Transform {
          Location {
            X: 2
            Z: 48
          }
          Rotation {
            Pitch: 85.0000076
          }
          Scale {
            X: 1
            Y: 1
            Z: 0.8
          }
        }
        ParentId: 2030039383200976830
        UnregisteredParameters {
          Overrides {
            Name: "ma:Shared_BaseMaterial:id"
            AssetReference {
              Id: 17236326679888273352
            }
          }
          Overrides {
            Name: "ma:Shared_BaseMaterial:color"
            Color {
              R: 0.911000073
              G: 0.84310019
              B: 0.754308045
              A: 1
            }
          }
        }
        Collidable_v2 {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        Visible_v2 {
          Value: "mc:evisibilitysetting:inheritfromparent"
        }
        CameraCollidable {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        EditorIndicatorVisibility {
          Value: "mc:eindicatorvisibility:visiblewhenselected"
        }
        CoreMesh {
          MeshAsset {
            Id: 8019118826950215183
          }
          Teams {
            IsTeamCollisionEnabled: true
            IsEnemyCollisionEnabled: true
          }
          StaticMesh {
            Physics {
              Mass: 100
              LinearDamping: 0.01
            }
            BoundsScale: 1
          }
        }
      }
      Objects {
        Id: 4929391090619303636
        Name: "Pyramid - 4-Sided Truncated"
        Transform {
          Location {
            X: -40
            Z: 44
          }
          Rotation {
            Pitch: -79.9999695
            Yaw: 180
            Roll: 180
          }
          Scale {
            X: 0.900000036
            Y: 0.900000036
            Z: 1.9
          }
        }
        ParentId: 2030039383200976830
        UnregisteredParameters {
          Overrides {
            Name: "ma:Shared_BaseMaterial:id"
            AssetReference {
              Id: 17236326679888273352
            }
          }
          Overrides {
            Name: "ma:Shared_BaseMaterial:color"
            Color {
              R: 0.911000073
              G: 0.84310019
              B: 0.754308045
              A: 1
            }
          }
        }
        Collidable_v2 {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        Visible_v2 {
          Value: "mc:evisibilitysetting:inheritfromparent"
        }
        CameraCollidable {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        EditorIndicatorVisibility {
          Value: "mc:eindicatorvisibility:visiblewhenselected"
        }
        CoreMesh {
          MeshAsset {
            Id: 14971737096753145276
          }
          Teams {
            IsTeamCollisionEnabled: true
            IsEnemyCollisionEnabled: true
          }
          StaticMesh {
            Physics {
              Mass: 100
              LinearDamping: 0.01
            }
            BoundsScale: 1
          }
        }
      }
      Objects {
        Id: 8069050782688999218
        Name: "UI Container"
        Transform {
          Location {
            X: -48
            Z: 53
          }
          Rotation {
            Yaw: 180
          }
          Scale {
            X: 1
            Y: 1
            Z: 1
          }
        }
        ParentId: 2030039383200976830
        ChildIds: 2025114104908771481
        ChildIds: 7603370806220647150
        Collidable_v2 {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        Visible_v2 {
          Value: "mc:evisibilitysetting:inheritfromparent"
        }
        CameraCollidable {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        EditorIndicatorVisibility {
          Value: "mc:eindicatorvisibility:visiblewhenselected"
        }
        Control {
          RenderTransformPivot {
            Anchor {
              Value: "mc:euianchor:middlecenter"
            }
          }
          Canvas {
            ContentType {
              Value: "mc:ecanvascontenttype:dynamic"
            }
            Opacity: 1
            CanvasWorldSize {
              X: 90
              Y: 90
            }
            RedrawTime: 30
          }
          AnchorLayout {
            SelfAnchor {
              Anchor {
                Value: "mc:euianchor:topleft"
              }
            }
            TargetAnchor {
              Anchor {
                Value: "mc:euianchor:topleft"
              }
            }
          }
        }
      }
      Objects {
        Id: 2025114104908771481
        Name: "UI Image"
        Transform {
          Location {
          }
          Rotation {
          }
          Scale {
            X: 1
            Y: 1
            Z: 1
          }
        }
        ParentId: 8069050782688999218
        Collidable_v2 {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        Visible_v2 {
          Value: "mc:evisibilitysetting:inheritfromparent"
        }
        CameraCollidable {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        EditorIndicatorVisibility {
          Value: "mc:eindicatorvisibility:visiblewhenselected"
        }
        Control {
          Width: 8
          Height: 8
          RenderTransformPivot {
            Anchor {
              Value: "mc:euianchor:middlecenter"
            }
          }
          AddSizeToParentIfUsingParentSize: true
          UseParentWidth: true
          UseParentHeight: true
          Image {
            Brush {
              Id: 1779025575755082565
            }
            Color {
              R: 1
              G: 1
              B: 1
              A: 1
            }
            TeamSettings {
            }
            ShadowColor {
              A: 1
            }
            ShadowOffset {
            }
            ScreenshotIndex: 1
          }
          AnchorLayout {
            SelfAnchor {
              Anchor {
                Value: "mc:euianchor:middlecenter"
              }
            }
            TargetAnchor {
              Anchor {
                Value: "mc:euianchor:middlecenter"
              }
            }
          }
        }
      }
      Objects {
        Id: 7603370806220647150
        Name: "UI Image"
        Transform {
          Location {
          }
          Rotation {
            Yaw: 6.83018516e-06
          }
          Scale {
            X: 1
            Y: 1
            Z: 1
          }
        }
        ParentId: 8069050782688999218
        Collidable_v2 {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        Visible_v2 {
          Value: "mc:evisibilitysetting:inheritfromparent"
        }
        CameraCollidable {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        EditorIndicatorVisibility {
          Value: "mc:eindicatorvisibility:visiblewhenselected"
        }
        Control {
          Width: 8
          Height: 8
          RenderTransformPivot {
            Anchor {
              Value: "mc:euianchor:middlecenter"
            }
          }
          AddSizeToParentIfUsingParentSize: true
          UseParentWidth: true
          UseParentHeight: true
          Image {
            Brush {
              Id: 14116525486179049953
            }
            Color {
              R: 1
              G: 1
              B: 1
              A: 1
            }
            TeamSettings {
            }
            ShadowColor {
              A: 1
            }
            ShadowOffset {
            }
            ScreenshotIndex: 1
          }
          AnchorLayout {
            SelfAnchor {
              Anchor {
                Value: "mc:euianchor:middlecenter"
              }
            }
            TargetAnchor {
              Anchor {
                Value: "mc:euianchor:middlecenter"
              }
            }
          }
        }
      }
      Objects {
        Id: 2943662152042532998
        Name: "Decal Sci-fi Details 01"
        Transform {
          Location {
            X: -24
            Z: 100
          }
          Rotation {
            Yaw: -90
          }
          Scale {
            X: 0.2
            Y: 0.2
            Z: 0.1
          }
        }
        ParentId: 2030039383200976830
        UnregisteredParameters {
          Overrides {
            Name: "bp:Shape Index"
            Int: 14
          }
          Overrides {
            Name: "bp:Color"
            Color {
              R: 1
              G: 0.900283933
              B: 0.807001114
              A: 1
            }
          }
        }
        Collidable_v2 {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        Visible_v2 {
          Value: "mc:evisibilitysetting:inheritfromparent"
        }
        CameraCollidable {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        EditorIndicatorVisibility {
          Value: "mc:eindicatorvisibility:visiblewhenselected"
        }
        Blueprint {
          BlueprintAsset {
            Id: 3925556316441965917
          }
          TeamSettings {
          }
          DecalBP {
          }
        }
        Relevance {
          Value: "mc:eproxyrelevance:medium"
        }
      }
      Objects {
        Id: 1511366225747737084
        Name: "Decal Sci-fi Details 01"
        Transform {
          Location {
            X: 46.1485291
            Y: -1
            Z: 29.0720673
          }
          Rotation {
            Yaw: -89.9999619
            Roll: 100.000061
          }
          Scale {
            X: 0.221755356
            Y: 0.114756085
            Z: 0.0999998
          }
        }
        ParentId: 2030039383200976830
        UnregisteredParameters {
          Overrides {
            Name: "bp:Shape Index"
            Int: 13
          }
          Overrides {
            Name: "bp:Color"
            Color {
              R: 1
              G: 0.900283933
              B: 0.807001114
              A: 1
            }
          }
        }
        Collidable_v2 {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        Visible_v2 {
          Value: "mc:evisibilitysetting:inheritfromparent"
        }
        CameraCollidable {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        EditorIndicatorVisibility {
          Value: "mc:eindicatorvisibility:visiblewhenselected"
        }
        Blueprint {
          BlueprintAsset {
            Id: 3925556316441965917
          }
          TeamSettings {
          }
          DecalBP {
          }
        }
        Relevance {
          Value: "mc:eproxyrelevance:medium"
        }
      }
      Objects {
        Id: 11792564355760575686
        Name: "Decal Sci-fi Details 01"
        Transform {
          Location {
            X: -52
            Y: 17.8276367
            Z: 2.7960968
          }
          Rotation {
            Pitch: 6.83018879e-06
            Yaw: 89.9999695
            Roll: 89.9999695
          }
          Scale {
            X: 0.120412268
            Y: 0.120412268
            Z: 0.120412268
          }
        }
        ParentId: 2030039383200976830
        UnregisteredParameters {
          Overrides {
            Name: "bp:Shape Index"
            Int: 7
          }
          Overrides {
            Name: "bp:Color"
            Color {
              R: 1
              G: 0.900283933
              B: 0.807001114
              A: 1
            }
          }
        }
        Collidable_v2 {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        Visible_v2 {
          Value: "mc:evisibilitysetting:inheritfromparent"
        }
        CameraCollidable {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        EditorIndicatorVisibility {
          Value: "mc:eindicatorvisibility:visiblewhenselected"
        }
        Blueprint {
          BlueprintAsset {
            Id: 3925556316441965917
          }
          TeamSettings {
          }
          DecalBP {
          }
        }
        Relevance {
          Value: "mc:eproxyrelevance:medium"
        }
      }
      Objects {
        Id: 15043642374087211669
        Name: "Gem - Diamond 8-Sided Polished"
        Transform {
          Location {
            X: -52.0490265
            Y: 43.5234375
            Z: 3.35998535
          }
          Rotation {
            Pitch: 90
          }
          Scale {
            X: 0.031469211
            Y: 0.031469211
            Z: 0.031469211
          }
        }
        ParentId: 2030039383200976830
        UnregisteredParameters {
          Overrides {
            Name: "ma:Shared_BaseMaterial:id"
            AssetReference {
              Id: 8919871824294249785
            }
          }
        }
        Collidable_v2 {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        Visible_v2 {
          Value: "mc:evisibilitysetting:inheritfromparent"
        }
        CameraCollidable {
          Value: "mc:ecollisionsetting:inheritfromparent"
        }
        EditorIndicatorVisibility {
          Value: "mc:eindicatorvisibility:visiblewhenselected"
   
…(truncated)…

Contribute — propose a file extension

Tell us where to find evidence about PowerBuilder (mapped to pl/powerbuilder). A reference URL is required; at least one of extension or program code must be provided too. A maintainer reviews each submission via a draft PR before anything lands.
Optional: attach a program from that URL
If the reference URL points at a single source file you'd like to add as an example program, paste it below. The workflow will write it under languages/PowerBuilder/programs/<sha>/. Keep under ~200 lines.
(or open the pre-filled issue directly)
← PowerBASIC Powerhouse →